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

  1. Path: sparky!uunet!mcsun!Germany.EU.net!math.fu-berlin.de!Sirius.dfn.de!darwin.sura.net!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!pacbell.com!charon.amdahl.com!amdahl!veritas!amdcad!weitek!pyramid!ctnews!risky!israel
  2. From: israel@risky.Convergent.COM (Paul Israel)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: csh is screwed up
  5. Message-ID: <10932@risky.Convergent.COM>
  6. Date: 28 Aug 92 16:31:23 GMT
  7. References: <1992Aug27.171503.794@colorado.edu>
  8. Organization: Unisys Unix Systems Group, San Jose, CA
  9. Lines: 24
  10.  
  11. From article <1992Aug27.171503.794@colorado.edu>, by powellb@samwise.colorado.edu (Brian Powell):
  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. >     #!/bin/csh
  16. >     set test = `pwd`
  17. >     echo $test
  18. >     exit
  19. >     This program will not echo anything because the scripting with csh will
  20. > not execute the program pwd as it is supposed to.  Does anyone know a work
  21. > around to this (beside tcsh)?  I can't use tcsh for the application I am 
  22. > applying this to.
  23.  
  24.    Say, you don't have your pwd command aliased to anything in your
  25. .cshrc file, do you? That sometimes causes problems with `` notation
  26. when you run it from a command line, although I'm not sure what would
  27. happen from inside a shell script. Good luck!
  28. -- 
  29. Paul Israel -----------------  israel@risky.convergent.com
  30. Senior Smartypants ----------- Unisys Corporation, San Jose, California
  31. Disclaimer: "Who, me? I wasn't even there!"
  32.