Michael A. Cleverly wrote: > On 11/2/06, Andy Bradford <[EMAIL PROTECTED]> wrote: >> Thus said Scott Morris on Thu, 02 Nov 2006 14:59:49 MST: >> >> > Any thoughts on how this could be accomplished? >> >> How about: >> >> #!/bin/sh >> [EMAIL PROTECTED] >> ls | mail -s "Running on `hostname` - sent" "$RECIP" > > Or even: > > ls | mail -s "Running on $HOSTNAME - sent" $RECIP > > since $HOSTNAME is a bash built-in variable. > > Michael >
Rock on, thanks. That helped. You all rule. Scott /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
