Hi, Writing a little utility to help me on something but having trouble. Why does f stay blank?
d...@lin4:test$ echo "foo|bar" | awk 'BEGIN{RS="|"}{ print $1 }' | while
read s; do echo $s; f=$s; done; echo "'$f'"
foo
bar
''
Regards
--
Daniel Bush
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
