Xref: utzoo comp.unix.sysv386:9199 comp.unix.xenix.sco:2836 comp.unix.shell:2472 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!unido!estevax!reiner From: reiner@estevax.UUCP (Reiner Plaum) Newsgroups: comp.unix.sysv386,comp.unix.xenix.sco,comp.unix.shell Subject: Re: Problem with SCO system V csh Keywords: csh Message-ID: <2317@estevax.UUCP> Date: 21 Jun 91 09:30:36 GMT References: <1991Jun19.212809.21504@parc.xerox.com> Reply-To: reiner@estevax.UUCP (Reiner Plaum) Followup-To: comp.unix.sysv386 Organization: Siemens AG Erlangen, Germany Lines: 10 In article <1991Jun19.212809.21504@parc.xerox.com> jlevine@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.