bin/57024: a new option for xargs(1) -- only treat \n as separators

Garance A Drosehn gad at FreeBSD.org
Sun Feb 27 01:40:13 GMT 2005


The following reply was made to PR bin/57024; it has been noted by GNATS.

From: Garance A Drosehn <gad at FreeBSD.org>
To: freebsd-gnats-submit at FreeBSD.org, mi at aldan.algebra.com
Cc:  
Subject: Re: bin/57024: a new option for xargs(1) -- only treat \n as
 separators
Date: Sat, 26 Feb 2005 20:35:19 -0500

 I suspect this PR should be closed.  Not only is there the
 very-workable solution from Oliver, but 'xargs -L <num>' is
 pretty close to what the original PR is asking for.
 
 It may not be obvious from  description in the man page, but
 when you request -L you're saying (among other things) that
 you want *lines* of input.  Therefore it switches to using
 just '\n' as the delimiter for arguments.
 
 (the reason I'm not closing the PR myself is that I haven't
 yet checked the 'xargs' on other OS's to see if our 'xargs'
 has implemented -L in the same way that their versions do.
 I might close come back and close the PR at some later date).
 
 -- 
 Garance Alistair Drosehn     =      gad at gilead.netel.rpi.edu
 Senior Systems Programmer               or   gad at FreeBSD.org
 Rensselaer Polytechnic Institute;             Troy, NY;  USA


More information about the freebsd-bugs mailing list