home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- 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
- From: per@erix.ericsson.se (Per Hedeland)
- Subject: Re: Action of `echo */'
- Message-ID: <1992Nov19.163705.15795@eua.ericsson.se>
- Sender: news@eua.ericsson.se
- Nntp-Posting-Host: aalborg.eua.ericsson.se
- Nntp-Posting-User: per
- Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
- References: <1eg04jINN9go@sprocket.csv.warwick.ac.uk>
- Date: Thu, 19 Nov 1992 16:37:05 GMT
- Lines: 27
-
- In article <1eg04jINN9go@sprocket.csv.warwick.ac.uk>, cudcv@csv.warwick.ac.uk (Rob McMahon) writes:
- |> SunOS 4.1.3, tcsh 6.02.00, bash 1.12.1.
- ...
- |> Aagh! Say what ? I'm sure this used to work, in sh, csh, and tcsh.
- |> Somewhere along the line it's all gone horribly wrong.
-
- It's a bug, er... fix introduced in SunOS 4.1.3. It's in the release
- manual, section 6.6 "POSIX Bugs Fixed", "Kernel":
-
- 1039505 Trailing / in pathname should be ignored.
-
- I actually thought it was an improvement, since now 'rm -r dir<tab>' in
- tcsh didn't fail to remove the directory due to the appended '/', but I
- have since come to see the error of my ways...
-
- I have no idea what POSIX says on the issue, but wouldn't treating
- 'directory/' as equivalent to 'directory' (rather than 'directory/.',
- which is the pre-4.1.3 behaviour), while treating 'file/' as
- nonexistent, make everybody happy?
-
- POSIX is your friend...:-)
-
- --Per Hedeland
- per@erix.ericsson.se or
- per%erix.ericsson.se@sunic.sunet.se or
- ...uunet!erix.ericsson.se!per
-
-