[U2] Stringing commands together on the command line. Possible?

2007-10-28 Thread penno
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 --

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-28 Thread Bill Haskett
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

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-28 Thread Hona, David S
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

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-28 Thread penno
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