raoscb
1
Hi all,
i have to append a record at the end of the file(a file which is already with some records).how do i do?please help me?
is there any way of doing this with "SED" command.i am not sure.plz help me on this.
would appreciate your ideas!!!!
bye
rao.
one way
rec="1234 last record"
echo "$rec" >> myfile
You may try the following code.
sed '$a\
> whatever you want to append
> ' file_name
raoscb
4
Hi mahendrt,
thanks for your help.it's workign fine for my requirement.
Thanks
Narasimharao.