🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #102

Re: Suggestions for fileutils

#102
From: Jim Prescott
Date: Mon, 06 Apr 1992 20:02
20 lines
1553 bytes
In article <9204022129.AA07149@prism.CS.ORST.EDU> jacobsd@prism.cs.orst.edu
>(Dana Jacobsen (jacobsd@cs.orst.edu)) writes:
>  We're using the GNU fileutils here (just got 3.2) and like them a lot. 
>ls is missing the "-f" option:
>          -f   Force each argument to be interpreted as a directory
>               and list the name found in each slot.  This option
>               turns off -l, -t, -s, and -r, and turns on -a; the
>               order is the order in which entries appear in the
>               directory.

Note that -f doesn't work as documented on Suns anymore.  You can no longer
force something to be treated as a directory; getdents(2) cannot be coerced
into treating a file as a directory.

The -f option is still useful for listing files in directory order (unsorted)
and since it only works on true directories there is no longer any reason to
turn off the -l, -s or -r flags (or any of the others that -f needed to turn
off before that didn't make it into the man page).
-- 
Jim Prescott	jgp@moscom.com		{rit,tropix,ur-valhalla}!moscom!jgp
Technical Details
Message-ID: <3449@moscom.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!moscom.COM!jgp
References: <9204022129.AA07149@prism.CS.ORST.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!moscom.COM!jgp
From: jgp@moscom.COM (Jim Prescott)
Subject: Re: Suggestions for fileutils
Message-ID: <3449@moscom.UUCP>
Sender: gnulists@ai.mit.edu
Reply-To: jgp@moscom.com (Jim Prescott)
Organization: Moscom Corp., Pittsford, NY
References: <9204022129.AA07149@prism.CS.ORST.EDU>
Distribution: gnu
Date: Mon, 6 Apr 1992 20:02:16 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 21