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

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!sun-barr!ames!agate!boulder!samwise.colorado.edu!powellb
  3. From: powellb@samwise.colorado.edu (Brian Powell)
  4. Subject: Re: csh is screwed up
  5. Message-ID: <1992Aug31.171710.2035@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. References: <1992Aug27.171503.794@colorado.edu> <1992Aug29.085228.2232@panix.com>
  10. Date: Mon, 31 Aug 1992 17:17:10 GMT
  11. Lines: 18
  12.  
  13. No it is not a User error, thank you.  
  14.  
  15. I have modified the script I originally posted, and I still have problems.  As
  16. you will recall, I am having trouble getting csh to execute this script 
  17. correctly, so I modified it, so that it does not require any .cshrc file, etc.
  18.  
  19. #!/bin/csh -f
  20. set test = `/bin/pwd`
  21. echo $test
  22. exit
  23.  
  24. There, everything is explicit, and should work for everybody.  However, it will
  25. 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
  26. executed the pwd command.  I ran it both under csh and tcsh with the same
  27. results.  I realize that this should work for everybody; however, has anyone
  28. else had this problem or resolved a similar one?
  29.  
  30. --Brian
  31.