Problem with SCO system V csh

Reiner Plaum reiner at estevax.UUCP
Fri Jun 21 19:30:36 AEST 1991


In article <1991Jun19.212809.21504 at parc.xerox.com> jlevine at parc.xerox.com (James D. Levine) writes:
>In trying to move some of my cshell scripts from SunOS to SCO SysV 386, I've encountered an annoying problem.  My usual way of reading from stdin to a variable no longer works-
>set variable = $<
>Now it gives a variable syntax error.  Does anybody know a workable construct for SCO?

Incomprehensibley, the variable $< is not implemented in the SCO csh.
You have to use the explict commands line or gets, e.g:
set variable = `line`

Reiner.



More information about the Comp.unix.shell mailing list