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
--
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
I don't believe there is a native command/option to do this in UV.
In BASIC you can do this by delimiting each command with mark-character
(eg., @FM) and 'execute' the string with the EXECUTE statement. So you
could create your own pseudo UV command prompt parser. Some commands
can't or shouldn't
Hi Bill, David, all
I'm getting the answers I want. (c: I'm glad it doesn't look like it's
possible.
I should have explained myslef more clearly. I'm looking at it from a
security point of view. I read this comic the other day,
http://xkcd.com/327/
and wondered if there was a risk of malicious