Results 1 to 2 of 2
I get this error
ls: cannot access *.sh: No such file or directory
while executing
"exec ls -l *.sh"
invoked from within
"set MYLIST [exec ls -l *.sh]"
(file "./myls.sh" ...
- 05-27-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 4
Expect and ls -l *.sh
I get this error
my code for myls.shls: cannot access *.sh: No such file or directory
while executing
"exec ls -l *.sh"
invoked from within
"set MYLIST [exec ls -l *.sh]"
(file "./myls.sh" line 2)
Code:#!/usr/bin/expect -f set MYLIST [exec ls -l *.sh] puts "$MYLIST" exit
- 05-29-2009 #2Just Joined!
- Join Date
- May 2009
- Posts
- 4
www:linuxquestions:org/questions/programming-9/expect-and-ls-l-.sh-729020/
Originally Posted by jlinkels


Reply With Quote