home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aux / 3280 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.1 KB  |  35 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!gatech!news.ans.net!cmcl2!panix!alexis
  3. From: alexis@panix.com (Alexis Rosen)
  4. Subject: Re: csh is screwed up
  5. Message-ID: <1992Aug29.085228.2232@panix.com>
  6. Date: Sat, 29 Aug 1992 08:52:28 GMT
  7. References: <1992Aug27.171503.794@colorado.edu>
  8. Organization: PANIX Public Access Unix, NYC
  9. Lines: 24
  10.  
  11. powellb@samwise.colorado.edu (Brian Powell) writes:
  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. Perhaps user error? Works fine here...
  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. Try setting the path explicitly.
  29.  
  30. --
  31. Alexis Rosen   Owner/Sysadmin,
  32. PANIX Public Access Unix & Internet, NYC.
  33. alexis@panix.com
  34. {uupsi,cmcl2}!panix!alexis
  35.