No such file

1999-08-19 Thread James Frey
Hola, I have an expect script which won´t run. I checked the libraries needed with ldd ./expect and everything's OK. Expect runs fine outside of the shell script. The script is: #!../expect -f set password [lindex $argv 2] spawn passwd [lindex $argv 1] expect "*password:" send "$password\r"

awk progfile

1999-06-04 Thread James Frey
Thank you, Andreas - That was it. I just don´t know how to read. Jim

Re: awk progfile

1999-06-04 Thread James Frey
You are right, its /usr/bin/awk. Now, with ./respchk I get: awk: 1: unexpected character '.' Jim Brad wrote: > > Lazarus Long wrote: > > > > > I don't know awk, but: > > > > > > 1) you want > > > #!/bin/awk > > Actually, you probalby want /usr/bin/awk o

Re: awk progfile

1999-06-03 Thread James Frey
Thanks for the quick response, I'm amazed. Yes, I did that, with the same results. Forgot to mention I´m using slink, and it does the same thing with HPUX. Lazarus Long wrote: > On Thursday, June 03, 1999 at 13:50:57 -0500, James Frey wrote: > > Message-ID: <[EMAIL PROTECTE

awk progfile

1999-06-03 Thread James Frey
Hola, I can't get awk to run from a program file. From the command line, awk '/Date/' respaldo works fine. If I put: " /Date/ respaldo " in a file (respchk) and run awk -f respchk it hangs. If I put: " #! /bin/awk " on the first line and try to run it with ./respchk I get "No such file