You might consider building the string to look/function exactly the way you want it before your mailx processing line. Then do a `mailx -s $xyz address@domain`, where YOU are executing what is in backquotes, and "xyz" is the variable you pre-build. R, -Joe Wulf, CISSP ProSync Technology Group, LLC Senior IA Engineer (410) 772-7969 office (410) 772-7967 fax (443) 801-5597 personal cell -----Original Message----- From: loganalysis-bounces+joe_wulf=yahoo.com@private [mailto:loganalysis-bounces+joe_wulf=yahoo.com@private] On Behalf Of Saladin, Miki Sent: Friday, April 16, 2004 19:16 To: 'loganalysis@private' Subject: [logs] concat of string and $ on swatch subject has any one tried to construct the subject of an email by concatenating the hostname from the syslog record ($4) and a string constant (swatch 3.0.8) i can get the $4 in the subject - mailx -s $4 address@domain. or i can get a string in the subject . but mailx -s $4 memory error address@domain doesn't work - ' i've tried all the " " - and tiitles with no blanks so i dont have to worry about it. and concatenation . symbols. i know it must be possible to do this. i can't be the only one interested in this. _______________________________________________ LogAnalysis mailing list LogAnalysis@private http://lists.shmoo.com/mailman/listinfo/loganalysis _______________________________________________ LogAnalysis mailing list LogAnalysis@private http://lists.shmoo.com/mailman/listinfo/loganalysis
This archive was generated by hypermail 2b30 : Sat Apr 17 2004 - 08:01:51 PDT