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

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!nsisrv!jagubox!jim
  3. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  4. Subject: Re: csh is screwed up
  5. Message-ID: <1055@jagubox.gsfc.nasa.gov>
  6. Lines: 32
  7. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  8. Nntp-Posting-Host: jagubox.gsfc.nasa.gov
  9. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  10. Organization: NASA/Goddard Space Flight Center
  11. References: <1992Aug27.171503.794@colorado.edu> <1992Aug29.085228.2232@panix.com> <1992Aug31.171710.2035@colorado.edu>
  12. Date: Mon, 31 Aug 1992 18:25:37 GMT
  13.  
  14. powellb@samwise.colorado.edu (Brian Powell) writes:
  15.  
  16. >No it is not a User error, thank you.  
  17.  
  18. >I have modified the script I originally posted, and I still have problems.  As
  19. >you will recall, I am having trouble getting csh to execute this script 
  20. >correctly, so I modified it, so that it does not require any .cshrc file, etc.
  21.  
  22. >#!/bin/csh -f
  23. >set test = `/bin/pwd`
  24. >echo $test
  25. >exit
  26.  
  27. >There, everything is explicit, and should work for everybody.  However, it will
  28. >only work on my A/UX 3.0, Mac IIfx, with 16 megs erratically.  I ran it 10 times, consecutively, and it worked 3 out of the ten.  The others, it never
  29. >executed the pwd command.  I ran it both under csh and tcsh with the same
  30. >results.  I realize that this should work for everybody; however, has anyone
  31. >else had this problem or resolved a similar one?
  32.  
  33. Well, I tried this and it worked fine... Is it possible that your csh
  34. got mangled?
  35.  
  36. sumdir /bin/csh
  37. 48700   107332 /bin/csh
  38.  
  39. sum /bin/csh
  40. 21681 210 /bin/csh
  41. -- 
  42.     Jim Jagielski               | "This is supposed to be a happy occasion.
  43.     jim@jagubox.gsfc.nasa.gov   |  Let's not bicker and argue about who
  44.     NASA/GSFC, Code 734.4       |  killed who."
  45.     Greenbelt, MD 20771         |
  46.