home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aux / 3279 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.8 KB

  1. 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
  2. From: johng@informix.com (John Galloway)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: csh is screwed up
  5. Message-ID: <1992Aug28.212017.23908@informix.com>
  6. Date: 28 Aug 92 21:20:17 GMT
  7. References: <1992Aug27.171503.794@colorado.edu>
  8. Sender: news@informix.com (Usenet News)
  9. Organization: Galloway Research
  10. Lines: 44
  11.  
  12. In article <1992Aug27.171503.794@colorado.edu> powellb@samwise.colorado.edu (Brian Powell) writes:
  13. >
  14. >    Does anyone know why the csh included with A/UX 3.0 is so screwed up?
  15. >This simple example here does not work under the A/UX csh; however, it works on
  16. >Sun, DEC, HP, IBM, and SGI.  Here it is:
  17. >
  18. >    #!/bin/csh
  19. >    set test = `pwd`
  20. >    echo $test
  21. >    exit
  22. >
  23. >    This program will not echo anything because the scripting with csh will
  24. >not execute the program pwd as it is supposed to.  Does anyone know a work
  25. >around to this (beside tcsh)?  I can't use tcsh for the application I am 
  26. >applying this to.
  27.  
  28. On my Quadra 700 A/UX 3.0 system:
  29. 8 % cat tst.csh
  30. #!/bin/csh
  31. set test = `pwd`
  32. echo $test
  33. exit
  34. 9 % ls -l tst.csh
  35. -rwxr-x--x   1 jrg      root          44 Aug 28 14:11 tst.csh
  36. 10 % pwd
  37. /user1/jrg
  38. 11 % tst.csh
  39. /user1/jrg
  40. 12 %
  41.  
  42. Perhaps, it is not the A/UX 3.0 csh that is "so screwed up".
  43. >
  44. >                            Thanks,
  45. >                            Brian
  46. your welcome.
  47.     -jrg
  48.  
  49. internet    jrg@galloway.sj.ca.us  John R. Galloway, Jr  795 Beaver Creek Way
  50. applelink   D3413                  CEO...receptionist    San Jose, CA   95133
  51.                                    Galloway Research     (408) 259-2490
  52. -- 
  53. internet    jrg@galloway.sj.ca.us  John R. Galloway, Jr  795 Beaver Creek Way
  54. applelink   D3413                  CEO...receptionist    San Jose, CA   95133
  55.                                    Galloway Research     (408) 259-2490
  56.