Research
Skip Research Menus
Research MenuSecurity Enhanced Linux What's New Frequently Asked Questions Background Documents License Download Participating Mail List Archives Remaining Work Contributors Related Work Press Releases Information Assurance Research NIARL In-house Research Areas Mathematical Sciences Program Sabbaticals Computer & Information Sciences Research Technology Transfer Advanced Computing Advanced Mathematics Communications & Networking Information Processing Microelectronics Other Technologies Technology Fact Sheets Publications Related Links |
SELinux Mailing ListRe: expect
From: Russell Coker <russell_at_coker.com.au>
Date: Sun, 27 Oct 2002 00:07:51 +0200
> Russell Coker wrote: > >I want to run an expect script as: > >script program param1 param2 ... OK, I think I didn't make it clear what I want to do. Say I want to run ls with a variety of parameters, I save the following as /tmp/testit: #!/usr/bin/expect
spawn /bin/ls [lrange $argv 0 end]
Then I type the following command:
I want the same result as "ls -l -a /tmp" but I don't get it. -- http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Sat 26 Oct 2002 - 18:20:24 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |