Hi,
I have a text file to which I need to append a line with current date (mm/dd/yyyy). How could I do it? I know appending line could be done using SED like a command as follows
1a\
Text1 to be added\
Text2 to be added
which will add two lines after the first line in the file. Is there any way I could call the date to these added strings?
Thanks,
dbadmin
I have a text file to which I need to append a line with current date (mm/dd/yyyy). How could I do it? I know appending line could be done using SED like a command as follows
1a\
Text1 to be added\
Text2 to be added
which will add two lines after the first line in the file. Is there any way I could call the date to these added strings?
Thanks,
dbadmin