Penno:

As far as I know, this won't work.  However, I can think of three ways to 
accomplish
this:

1) Use a 3rd party tcl shell/stacker that allows execution of multiple lines in 
the
stack. E.g.

:.x3,4,17

...where the 3rd, 4th, and 17th command in the stack are:

003 !ls -l
004 !cat file
017 !grep file string

2) Use a BASIC program command line compiler like:

http://www.pickwiki.com/cgi-bin/wiki.pl?BPTest

...where you can enter something like:

:BPTEST TclLine = "!ls -l" : @VM : "!cat file" : @VM : "grep file string" ; 
EXECUTE
TclLine ; END

3) Shell out to the O/S then do this if you want.

Hope this helps.

Bill

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of penno
>Sent: Sunday, October 28, 2007 3:32 PM
>To: [email protected]
>Subject: [U2] Stringing commands together on the command line. 
>Possible?
>
>Hi all
>
>I'd like to string some commands together, similar to unix, eg
>
>> ls -l ; cat file ; grep file string
>
>This will execute "ls", followed by "cat", followed by "grep". 
>The ";" is the magic character that allows this. Is there a
>similar function available at the UV command prompt??
>
>Thanks
>
>Penno
>-- 
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to