[prev in list] [next in list] [prev in thread] [next in thread]
List: swatch-users
Subject: Swatch-users digest, Vol 1 #108 - 2 msgs
From: swatch-users-request () ucsb ! edu
Date: 2001-10-23 19:01:06
[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. Re: exec and missing data (M Z Rahman) (M Z Rahman)
2. RE: Swatch-users digest, Vol 1 #107 - 1 msg (Raul Saez)
--__--__--
Message: 1
Date: Mon, 22 Oct 2001 20:15:53 +0000
From: M Z Rahman <zrahman@partex.net>
To: Tom Roney <troney@ncsa.uiuc.edu>
Cc: swatch-users@ucsb.edu
Subject: [Swatch-users] Re: exec and missing data (M Z Rahman)
Let me post this to the list as I forgot to let you know that, it doesn't work
if you put double quotes. If you give doble quote i.e. "$*" then swatch gives
errors and exits. It works fine as '$*'.
Thanks.
Zia
Quoting Tom Roney <troney@ncsa.uiuc.edu>:
> Glad it worked for you, in which case we
> should write the mail list for the benefit
> of others.
>
> Would you like to do this? or shall I?
>
> Tom Roney
>
> On Oct 22, 7:49pm, M Z Rahman wrote:
> > Subject: Re: exec and missing data (M Z Rahman)
> >
> > Hey, thanks a lot. Worked just fine. Although, it added an extra "\" in
> front
> > of each "(", but it served my purpose.
> >
> > Thanks again. __You are a LifeSaver__ :)
> >
> > Zia
> >
> > Quoting Tom Roney <troney@ncsa.uiuc.edu>:
> >
> > > You might want to try placing $* in single
> > > or double quotes: '$*' or "$*"
> > >
> > > Not sure this will help, so I did not write
> > > to the maillist.
> > >
> > > Tom Roney
> > >
> > > > 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
> > >
> >-- End of excerpt from M Z Rahman
>
>
--__--__--
Message: 2
From: "Raul Saez" <rstmisf@hotmail.com>
To: <swatch-users@ucsb.edu>
Date: Tue, 23 Oct 2001 09:39:15 +0200
Subject: [Swatch-users] RE: Swatch-users digest, Vol 1 #107 - 1 msg
You can try write ...
watchfor /Error: Multiple logins:/
echo
exec echo $0 >> /mydir/myfile
I have put it in my source and is perfect.... excusme for my english!!
Raśl.-
----- Original Message -----
From: <swatch-users-request@ucsb.edu>
To: <swatch-users@ucsb.edu>
Sent: Monday, October 22, 2001 9:01 PM
Subject: Swatch-users digest, Vol 1 #107 - 1 msg
> 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
>
--__--__--
_______________________________________________
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