Donna Garverick writes:
> shell/iX> ftp <ftprgh.cmd # here I try to redirect stdin
> using "<"
> producing the following err
> FILE OPEN ERROR (PASCERR 692)
> FILE IS '$STDINX'
Try this hackaround from the shell:
callci 'print ./ftprgh.cmd;out=$newpass'
callci 'ftp.arpa.sys <$oldpass'
This works because we copy your input file into the MPE name space instead of
trying to use it directly from HFS space.
Note: you *must* use the single quotes here, or else sh will attempt to resolve
the $ variable names.
> given today's thread, i believe i know the answer about
> *why*
> this isn't working (although feel free to tell me otherwise
> :-)....
Apparently redirection is also messed up for HFS files, not just pipes. :-(
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)