View Single Post
Old 04-25-2007, 01:59 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,114
Belisarius is on a distinguished road
If you're using bash, I've always found the Advanced Bash-Scripting Guide.

Basically, to write out a file, you need to "echo" out values. That is,
Code:
echo ${FOO} >> ${FILE}
In case you don't know, '>>' appends the output to the specified file, whereas '>' over-writes what's currently there.
__________________
GitS
Belisarius is offline   Reply With Quote