hi,

how can i store a multiline text in a shell variable, is it even possible?

what i tried till now:
$buffer=`cat some_file`
which removes the newlines...

and...
while read x
do
        buffer="$buffer $x"
done
which again removes the newlines.

either it can't be done OR i forgot shell programming OR it's a really simple solution and i can't put my finger on it!
any ideas?


Yahoo! FareChase - Search multiple travel sites in one click.
_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org

Reply via email to