home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / shell / 4789 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.6 KB  |  41 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per
  3. From: per@erix.ericsson.se (Per Hedeland)
  4. Subject: Re: Action of `echo */'
  5. Message-ID: <1992Nov19.163705.15795@eua.ericsson.se>
  6. Sender: news@eua.ericsson.se
  7. Nntp-Posting-Host: aalborg.eua.ericsson.se
  8. Nntp-Posting-User: per
  9. Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
  10. References:  <1eg04jINN9go@sprocket.csv.warwick.ac.uk>
  11. Date: Thu, 19 Nov 1992 16:37:05 GMT
  12. Lines: 27
  13.  
  14. In article <1eg04jINN9go@sprocket.csv.warwick.ac.uk>, cudcv@csv.warwick.ac.uk (Rob McMahon) writes:
  15. |> SunOS 4.1.3, tcsh 6.02.00, bash 1.12.1.
  16. ...
  17. |> Aagh!  Say what ?  I'm sure this used to work, in sh, csh, and tcsh.
  18. |> Somewhere along the line it's all gone horribly wrong.
  19.  
  20. It's a bug, er... fix introduced in SunOS 4.1.3. It's in the release
  21. manual, section 6.6 "POSIX Bugs Fixed", "Kernel":
  22.  
  23. 1039505 Trailing / in pathname should be ignored.
  24.  
  25. I actually thought it was an improvement, since now 'rm -r dir<tab>' in
  26. tcsh didn't fail to remove the directory due to the appended '/', but I
  27. have since come to see the error of my ways...
  28.  
  29. I have no idea what POSIX says on the issue, but wouldn't treating
  30. 'directory/' as equivalent to 'directory' (rather than 'directory/.',
  31. which is the pre-4.1.3 behaviour), while treating 'file/' as
  32. nonexistent, make everybody happy?
  33.  
  34. POSIX is your friend...:-)
  35.  
  36. --Per Hedeland
  37. per@erix.ericsson.se  or
  38. per%erix.ericsson.se@sunic.sunet.se  or
  39. ...uunet!erix.ericsson.se!per
  40.  
  41.