Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2000 01:10:13 -0700 (PDT)
From:      Anatoly Vorobey <mellon@pobox.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/18397: ls-F with set color doesn't accept flags
Message-ID:  <200005070810.BAA64628@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/18397; it has been noted by GNATS.

From: Anatoly Vorobey <mellon@pobox.com>
To: Adrian Chadd <adrian@FreeBSD.ORG>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/18397: ls-F with set color doesn't accept flags
Date: Sat, 6 May 2000 18:10:19 +0000

 On Fri, May 05, 2000 at 08:40:03AM -0700, Adrian Chadd wrote:
 
 >  > > >Synopsis:       ls-F with set color doesn't accept flags
 
 ls-F never groks flags, it'll always fall back on ls(1) whenever flags
 are given. Given this, here's an excerpt from man csh:
 
 color 	 If set, it enables color display for  the  builtin
 	 ls-F  and  it  passes --color=auto to ls. Alterna-
    	 tively, it can be set to only ls-F or only  ls  to
  	 enable  color  only  to one command. Setting it to
 	 nothing is equivalent to setting it to (ls-F ls).
 
 So when you ``set color'' and ``ls-F -l'', our ls(1) gets
 ``ls -CF --color=auto -l'' and is naturally confused. The solution
 is to use ``set color=ls-F''.
 
 If that is not a disgusting Linuxism, I don't know what is.
 
 -- 
 Anatoly Vorobey,
 mellon@pobox.com http://pobox.com/~mellon/
 "Angels can fly because they take themselves lightly" - G.K.Chesterton
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005070810.BAA64628>