[m-rev.] for review: use xargs in mmake

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Feb 15 18:20:41 AEDT 2002


On 15-Feb-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> On 15-Feb-2002, Peter Ross <peter.ross at miscrit.be> wrote:
> > fjh wrote:
> > > Yes -- the main issue is that it doesn't properly handle file names
> > > containing spaces, newlines, single quotes, double quotes, or backslashes.
> > >
> > Do you have any other suggestions on how to solve this problem?  I can only
> > think of xargs at the moment.
> 
> I can suggest xargs -0 and either ''s in the echo command or find -print0
> as starting points for a search for a solution.

Unfortunately neither `xargs -0' nor `find -print0' are portable.
They only work with GNU xargs and GNU find.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list