Pretty basic shell question, but it's Monday morning and my brain hasn't warmed up yet.
I have the following bit of shell script to accept messages piped from evolution filters and pop up a notice on screen: ---- message="Message received `egrep "(^From:|^Subject:)"` " xmessage -nearmouse $message ---- (I'd much rather use zenity or some other xmessage replacement, but nothing else is available in this environment) Now, running this script with bash compresses $message to a single line, while zsh keeps the newlines intact. So I'm wondering how to achieve the same thing with bash. Cheers, -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html