delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/09/10:02:06

Date: Sat, 09 Jun 2001 17:00:12 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT ZAHAV DOT NET DOT IL
To: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Message-Id: <1659-Sat09Jun2001170011+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3B2207A2.AC9FB825@phekda.freeserve.co.uk> (message from Richard
Dawe on Sat, 09 Jun 2001 12:25:22 +0100)
Subject: Re: .files on servers are perceived as readonly
References: <200106090909 DOT LAA26071 AT mother DOT ludd DOT luth DOT se> <3B2207A2 DOT AC9FB825 AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Sat, 09 Jun 2001 12:25:22 +0100
> From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> 
> > Plus a bug in the docs. They say "The '-g' option is accepted but
> > ignored, for compatiblity with Unix." in the ls node.
> 
> I couldn't find '-g' in the Fileutils docs, but Unix98 says this:
> 
>     "-g The same as -l, except that the owner is not written."
> 
> Presumably the bug is that it does take noticed of '-g'. If so, I will
> submit a patch to Jim Meyering.

No, Martin meant the DJGPP-specific effect of `-g', which is my
invention (try "ls -lg" and you will see what I mean).

When I ported Fileutils, I decided I couldn't in good faith release an
`ls' that was incapable of showing the DOS attribute bits.  I could
grind my teeth if hidden/system attributes were unavailable, but the
archive (a.k.a. modified) bit was the last straw: it is too important
to let it go.

But, since `ls' already uses almost all the letters in the alphabet
for its options, I needed a letter that (1) was unused and (2) had
high probability to stay unused in the future.  `-g' was perfect: it's
a compatibility option (so will not be changed) and it does nothing in
the Unix version.  The rest, as they say, is history.

The port of v3.16 described this switch in the DJGPP-specific README
file.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019