Mailx 2006-05-17 - By karlp@(protected)
Back
On Wed, May 17, 2006 12:32 pm, Han Tin said: > To all. > I'd a script used to work on HP-UX. > Will it work on RHL ES. > > #!/usr/bin/sh > # sndmail > # usage sndmail <filename> <e-mail> > # > > uuencode $1 $1 | mail -m -s "Test" $2
It looks good other than -m. Do man mail to see what switch to use instead.
I suspected you were coming from Sun, HP/UX or AIX, all of which use mailx as a commandline email parser.
Karl
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|