home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!sun-barr!news2me.ebay.sun.com!exodus.Eng.Sun.COM!sun!amdcad!weitek!pyramid!infmx!johng
- From: johng@informix.com (John Galloway)
- Newsgroups: comp.unix.aux
- Subject: Re: csh is screwed up
- Message-ID: <1992Aug28.212017.23908@informix.com>
- Date: 28 Aug 92 21:20:17 GMT
- References: <1992Aug27.171503.794@colorado.edu>
- Sender: news@informix.com (Usenet News)
- Organization: Galloway Research
- Lines: 44
-
- In article <1992Aug27.171503.794@colorado.edu> powellb@samwise.colorado.edu (Brian Powell) writes:
- >
- > Does anyone know why the csh included with A/UX 3.0 is so screwed up?
- >This simple example here does not work under the A/UX csh; however, it works on
- >Sun, DEC, HP, IBM, and SGI. Here it is:
- >
- > #!/bin/csh
- > set test = `pwd`
- > echo $test
- > exit
- >
- > This program will not echo anything because the scripting with csh will
- >not execute the program pwd as it is supposed to. Does anyone know a work
- >around to this (beside tcsh)? I can't use tcsh for the application I am
- >applying this to.
-
- On my Quadra 700 A/UX 3.0 system:
- 8 % cat tst.csh
- #!/bin/csh
- set test = `pwd`
- echo $test
- exit
- 9 % ls -l tst.csh
- -rwxr-x--x 1 jrg root 44 Aug 28 14:11 tst.csh
- 10 % pwd
- /user1/jrg
- 11 % tst.csh
- /user1/jrg
- 12 %
-
- Perhaps, it is not the A/UX 3.0 csh that is "so screwed up".
- >
- > Thanks,
- > Brian
- your welcome.
- -jrg
-
- internet jrg@galloway.sj.ca.us John R. Galloway, Jr 795 Beaver Creek Way
- applelink D3413 CEO...receptionist San Jose, CA 95133
- Galloway Research (408) 259-2490
- --
- internet jrg@galloway.sj.ca.us John R. Galloway, Jr 795 Beaver Creek Way
- applelink D3413 CEO...receptionist San Jose, CA 95133
- Galloway Research (408) 259-2490
-