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 02-09-2007
malaysoul malaysoul is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 12
Add new data using script

Hi All,

I have a list of data in one file. For example, in the file test.lst, the data as below;

abcd
efgh
ijkl
mnop
qrst

Instead of using vi, how i can write a script if i want to add new data "uvwx" in the test.lst

Kindly guide me.

-malaysoul-