HP3000-L Archives

December 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Thu, 17 Dec 1998 16:00:52 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
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)

ATOM RSS1 RSS2