"Ted Unangst" wrote:
> This option is not posix (not like that's stopped find accumulating a
> dozen extensions), but it is in gnu and freebsd (for 20 years). it's
> also somewhat popular among sysadmins and blogs, etc. and perhaps most
> importantly, it nicely solves one of the more troublesome
> Date: Sat, 7 Jan 2017 13:15:05 +
> From: Stuart Henderson
>
> On 2017/01/07 11:32, Marc Espie wrote:
> > On Tue, Jan 03, 2017 at 11:15:39PM +0100, Mark Kettenis wrote:
> > > > From: "Ted Unangst"
> > > > Date: Tue, 03 Jan 2017 16:39:48 -0500
> > > >
> > > > I copied this straight from fre
On 2017/01/07 11:32, Marc Espie wrote:
> On Tue, Jan 03, 2017 at 11:15:39PM +0100, Mark Kettenis wrote:
> > > From: "Ted Unangst"
> > > Date: Tue, 03 Jan 2017 16:39:48 -0500
> > >
> > > I copied this straight from freebsd. Not fixed, but feel free to correct
> > > as
> > > desired.
> > >
> > >
On Tue, Jan 03, 2017 at 11:15:39PM +0100, Mark Kettenis wrote:
> > From: "Ted Unangst"
> > Date: Tue, 03 Jan 2017 16:39:48 -0500
> >
> > I copied this straight from freebsd. Not fixed, but feel free to correct as
> > desired.
> >
> > This adds a third example showing -delete, mentioning that it'
Mark Kettenis wrote:
> I really think we should not encourage unportable code like that by
> giving an example in our manual page.
That's fair.
> I'm even tempted to say that you should leave the "-exec rm {} \;"
> example alone. The + here only works because rm(1) accepts multiple
> file argume
>> From: "Ted Unangst"
>> Date: Tue, 03 Jan 2017 16:39:48 -0500
>>
>> I copied this straight from freebsd. Not fixed, but feel free to correct as
>> desired.
>>
>> This adds a third example showing -delete, mentioning that it's not standard,
>> but also hinting that it may work better than "rm -
> From: "Ted Unangst"
> Date: Tue, 03 Jan 2017 16:39:48 -0500
>
> I copied this straight from freebsd. Not fixed, but feel free to correct as
> desired.
>
> This adds a third example showing -delete, mentioning that it's not standard,
> but also hinting that it may work better than "rm -r" when
Jason McIntyre wrote:
> no opinion on the addition, but if there is a better way to write the
> examples that are there, i think you should take the time to do so. i'd
> also slightly prefer we show the more traditional way to do it, though i
> appreciate that might not make a ton of sense for find
OK millert@ for the code. I'll defer to jmc@ on the man page bits.
- todd
On Tue, Jan 03, 2017 at 12:15:02AM -0500, Ted Unangst wrote:
> This option is not posix (not like that's stopped find accumulating a dozen
> extensions), but it is in gnu and freebsd (for 20 years). it's also somewhat
> popular among sysadmins and blogs, etc. and perhaps most importantly, it
> nice
10 matches
Mail list logo