Date: Sun, 08 Nov 1998 17:44:54 +0100 From: Martin Birgmeier <Martin.Birgmeier@aon.at> To: freebsd-bugs@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Improved functionality for find(1) Message-ID: <3645CA86.67FDDD9C@aon.at> References: <md5:B41DD9B66609471A476ABCE30C450BB7>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
A long time ago, I wrote:
>
> Dear FreeBSD gurus,
>
> I wanted find(1) to be able to check file flags... While working on this,
> I found a bug in bin/ls/stat_flags.c, and largely rewrote the latter for
> easier maintenance. Below you find both patches. Please forward them to
> the NetBSD and OpenBSD groups as well.
>
> Thanks for the system & best regards,
>
> Martin
>
> P.S. I'd also like to have HP-UX's -newer[acm][acm]{0,1} functions
> to find(1), as well as my own invention (or someone else's?)
> -date[acm]{0,1} [+-]{0,1}<free-form-date-time>. Once I find
> some spare time again, I'll do that - unless you are faster :-). This
> would be made easier by incorporating the various getdate.y(3) into the
> C (or other?) library.
>
It seems that somehow neither the patches I sent at that time were applied
nor the additional functionality I requested was written by someone else.
So finally I sat down and did it myself, albeit somewhat differently from
what I was asking for at that time. Look in the man page for details.
This time I don't include my patches to stat_flags.c, although I still think
that that file is not really working quite correctly. But now I'm not so sure
any more about the quality of my own implementation... maybe later.
The patches to find(1) are included in the attachment.
Still -
Thanks for the system & best regards,
Martin
--
Martin Birgmeier
Vienna e-mail: Martin.Birgmeier@IEEE.org
Austria Martin.Birgmeier@aon.at
[-- Attachment #2 --]
E6 find-patches <WH?{yd yp6d'<Bm]d+$_}t-[6".np}q8(ZsÑϽh$Jv
sxm}tFwt(
]qm-DDTgY"JR[7E')'g ݨ"hѰUXЃi ?:(:mݎ^lܷc7r~F6\Zq-1²|舿E,4Y)}{
N<bxQlŃg4\\[WW-غ+OU56.CD}twM^@7)ߴo
Hqީ[x gI/=Χ D!5ڱ
TӣYwTIj86Qa9< f^`pc
ž)U#EϹ.$ )+vf{{4Hj,ljt>9v4<lB1lu067|sіhUcJs;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