The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-08-2008
drams drams is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 4
update file contents using shell script

Hi,

I am having a file which contains as below

Names(aaaa
,bbbb
,cccc
,dddd)

now i want the file to be updated with new value 'eeee' as below

Names(aaaa
,bbbb
,cccc
,dddd
,eeee)

Is there a way to script this ?

Thanks,
drams