[prev in list] [next in list] [prev in thread] [next in thread]
List: swatch-users
Subject: Swatch-users digest, Vol 1 #107 - 1 msg
From: swatch-users-request () ucsb ! edu
Date: 2001-10-22 19:01:05
[Download RAW message or body]
Send Swatch-users mailing list submissions to
swatch-users@ucsb.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://ucsb.edu/mailman/listinfo/swatch-users
or, via email, send a message with subject or body 'help' to
swatch-users-request@ucsb.edu
You can reach the person managing the list at
swatch-users-admin@ucsb.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Swatch-users digest..."
Today's Topics:
1. exec and missing data (M Z Rahman)
--__--__--
Message: 1
Date: Mon, 22 Oct 2001 13:31:00 +0000
From: M Z Rahman <zrahman@partex.net>
To: swatch-users@ucsb.edu
Subject: [Swatch-users] exec and missing data
Hi,
I was trying to send the data from alog to a perl script as argument vector as:
watchfor /Error: Multiple logins:/
echo
exec echo $* >> /mydir/myfile
But, when I get the data in the perl script it send me trancated data in some
cases. For exmple:
I get the following output from the "echo" line above
Mon Oct 1 04:13:27 2001: Error: Multiple logins: [unal] (from nas tcm) max. 1
Mon Oct 1 04:15:16 2001: Error: Multiple logins: [unal] (from nas tcm) max. 1
Mon Oct 1 07:21:26 2001: Error: Multiple logins: [tair] (from nas tcm) max. 1
Mon Oct 1 08:40:35 2001: Error: Multiple logins: [eam] (from nas hiper) max. 1
and I get the following output from the "exec echo $* >> /mydir/myfile" line above:
Mon Oct 1 04:13:27 2001: Error: Multiple logins: [unal] (from nas tcm) max. 1
Mon Oct 1 04:15:16 2001: Error: Multiple logins: [unal] (from nas tcm) max. 1
Mon Oct 1 07:21:26 2001: Error: Multiple logins: t (from nas tcm) max. 1
Mon Oct 1 08:40:35 2001: Error: Multiple logins: [eam] (from nas hiper) max. 1
As you can see, the 3rd line's field 9 is trancated. This happens even if I use
"exec /mydir/myfile.pl $*".
Any idea why this is happening?
Please need urgent help.
Zia
--__--__--
_______________________________________________
Swatch-users mailing list
Swatch-users@ucsb.edu
http://ucsb.edu/mailman/listinfo/swatch-users
End of Swatch-users Digest
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic