home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!sgi!fido!zola!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Subject: Re: Bug in ls -L ?
- Message-ID: <tkteeqg@zuni.esd.sgi.com>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <1992Dec14.190234.25355@cc.umontreal.ca>
- Date: Tue, 15 Dec 92 18:34:04 GMT
- Lines: 24
-
- In <1992Dec14.190234.25355@cc.umontreal.ca> gaumondp@ERE.UMontreal.CA (Gaumond Pierre) writes:
-
- | if I do (on csh):
- |
- | % ls -l /usr/bin/vi
- | l--------- 1 root sys 2 Mar 29 1992 /usr/bin/vi -> ex
- | % ls -L /usr/bin/vi
- | /usr/bin/vi
- |
- | The man pages for ls say about "-L" parameter:
- |
- | -L If the file is a symbolic link, list the file that the link
- | references.
- |
- | I should have obtained "/usr/bin/ex" with the ls -L commabd. Is it a bug?
- | Is there something I did not understand?
-
- The man page could be clearer. It means follow the link, and get
- the 'stat' info from the file that is pointed to by the link,
- not to change the name that is printed. See also 'man lstat'.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-