home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aux / 3246 < prev    next >
Encoding:
Text File  |  1992-08-27  |  933 b   |  32 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!boulder!samwise.colorado.edu!powellb
  3. From: powellb@samwise.colorado.edu (Brian Powell)
  4. Subject: csh is screwed up
  5. Message-ID: <1992Aug27.171503.794@colorado.edu>
  6. Sender: news@colorado.edu (The Daily Planet)
  7. Nntp-Posting-Host: bilbo.colorado.edu
  8. Organization: Colorado Center for Astrodynamics Research
  9. Date: Thu, 27 Aug 1992 17:15:03 GMT
  10. Lines: 20
  11.  
  12.     Does anyone know why the csh included with A/UX 3.0 is so screwed up?
  13. This simple example here does not work under the A/UX csh; however, it works on
  14. Sun, DEC, HP, IBM, and SGI.  Here it is:
  15.  
  16.     #!/bin/csh
  17.     set test = `pwd`
  18.     echo $test
  19.     exit
  20.  
  21.     This program will not echo anything because the scripting with csh will
  22. not execute the program pwd as it is supposed to.  Does anyone know a work
  23. around to this (beside tcsh)?  I can't use tcsh for the application I am 
  24. applying this to.
  25.  
  26.                             Thanks,
  27.  
  28.                             Brian
  29.  
  30. ----
  31. No cute crap here...
  32.