[SunHELP] double IO redirection

sunhelp at sunhelp.org sunhelp at sunhelp.org
Mon Jan 29 12:09:47 CST 2001


> >
> >Your question is odd.  Both your shell and the program your shell forks
> >and execs use your tty/pty as stdin/stdout/stderr . . . so what are you
> >trying to accomplish?  Describe the situation.
> >Nick Dronen

 Since the description still isn't very clear about all that can really be suggested 
is to use the exec command to redirect stdin from a file in your script. The
 "<" symbol is for STDIN redirection and the ">" symbol is for STDOUT
redirection. You should probably read the man page for sh (or whichever
interpreter you wish to accomplish this in).

 -david




More information about the SunHELP mailing list