Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 19:51:54 -0800
From:      Doug Barton <Doug@gorean.org>
To:        rene@tp98.catv.szabinet.hu
Cc:        R Joseph Wright <rjoseph@speakeasy.org>, Matthew Jonkman <jonkman@jonkmangarage.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Shell Color Coding
Message-ID:  <38D994DA.D49429A4@gorean.org>
References:  <Pine.BSF.4.21.0003222352390.82633-100000@tp98.catv.szabinet.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Rene Scott wrote:

> Maybe a better approach to define a function like
> 
> function ls
> {
>         gnuls --color=auto $@
> }
> 
>  And with 'alias ls='gnuls --color=always' the following shell code on
> the command line should fail:
> 
> for i in `ls`; do
>         ...
> done

	A) Why should it fail? B) It doesn't. :) C) A better approach for your
command line script is:

for i in *; do

Good luck,

Doug
-- 
    "So, the cows were part of a dream that dreamed itself into
existence,
is that possible?" asked the student incredulously.
    The master simply replied, "Mu."


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




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