View Single Post
Old 11-08-2004, 07:57 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
prepend with shell scripting?

is it possible to prepend a file with text in a shell script? the text could be in some other file too.

i may be answering my own question ..
Code:
$ cat > prepend_text.txt > into_file.php > new_file.php
__________________
Mike
sde is offline   Reply With Quote