Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 15:17:47 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        Craig Carey <research@ijs.co.nz>
Cc:        current@freebsd.org
Subject:   Re: find(1) -regex/-iregex
Message-ID:  <86zofgpnjo.wl@archon.local.idaemons.org>
In-Reply-To: <5.0.2.1.2.20010221184120.036e43b0@pop.qsi.net.nz>
References:  <3A93376D.B371FCD1@newsguy.com> <8666i588p4.wl@archon.local.idaemons.org> <863dd8r54c.wl@archon.local.idaemons.org> <5.0.2.1.2.20010221184120.036e43b0@pop.qsi.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 21 Feb 2001 18:53:26 +1300,
Craig Carey wrote:
> Can an  -iname  option be provided. Then the FreeBSD find would be
> more like GNU find, and lines like this could be written:

Yes, it's already implemented as I wrote in the previous mail.

> I am doubtful that the -regexp needs to be inferior to the the
> -egrep option. What software would break: it was said that there is
> no regexp?. There are opinions around saying that egrep is better
> than grep.

We are not aiming to be that GNU'ish.  Being compatible with NetBSD is
a good thing in a sense.

> What is the -E option: perhaps this?:   -eregex
> 
> Suppose it is case sensitive. Then it could be
>   -eiregex  or  -ieregex  or  -eregexi

I don't like it somehow..  I chose -E because it is consistent with
(our) grep(1) and sed(1).

> What about improving 'ls' too?: can there be an option so that it
> refuses to list any information about directories (useful in the
> above example). Also, is there any plan to stop the wastage of
> space in the central columns of "ls"'s output, where it lists
> uninteresting information. Maybe a '-p' option, like GNU 'ls'
> has.

Interesting, but it would be done at some other time.  I'd like to
focus on regex this time.

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"

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




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