On 3/16/06, Stuart Jansen <[EMAIL PROTECTED]> wrote:
> #!/bin/sh
> file="/mnt/windows/My Documents/notes.txt"
> tensai="Corey"
> mesg="The world would be a better place"
> mesg="${mesg} if everyone listened to ${tensai}'s advice."
> echo "$mesg" >> "$file"
> mesg="${mesg/a better/an even better}"
> echo "${mesg/Corey/Stuart}" >> "$file"

Sweet.  Will this work with the Bourne shell?  Or does this only work
because sh is a link to bash?

-Bryan

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to