I want to implement some actions on the specified files, to modify some contents in the files, as follows:
File1:
****
name carol
birthday 830319
*******
name billy
birthday 831001
***************
____________________________
The asterisks mean there are a lot of other contents. I want to write a script to change the file as " Modify.ksh File1 000101" to modify all the birthdays to 000101? Are there any suggestions? For the easy way
NOTE: In the file, the birthday only appears in the two places.
But if there is no installation of the GNU sed, are there any other options? Because this situation happened on me and I have no right to do an installation, so sad...