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 > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: script help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-04-2007
nishadkvp nishadkvp is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 1
script help

hi, i was wondering how to write a script which gets a txt and inserts that txt into top line of an existing file. i cannot use SED or AWK. i am workin on this now
echo "txt" | vi +1 filename
any help appreciated.