Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 1999 15:43:03 +0100
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Extremely bizarre filename behavior (3.3-RELEASE)
Message-ID:  <19991221154303.B15372@speedy.gsinet>
In-Reply-To: <199912211316.VAA50647@netrinsics.com>; from robinson@netrinsics.com on Tue, Dec 21, 1999 at 09:16:14PM %2B0800
References:  <199912211002.SAA50337@netrinsics.com> <199912211316.VAA50647@netrinsics.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 21, 1999 at 21:16 +0800, Michael Robinson wrote:
> 
> Terminating spaces were leaking in from Windows users through
> Samba.  It never occurred to me that sending filenames through
> a pipe from "find" to "xargs" (how I discovered the problem)
> will strip whitespace from filenames.

It seems good habit (unless someone can explain me otherwise :)
to do something like
  find $DIRS $OPTS -print0 | xargs --null $CMD
which helps against this sort of thing.


virtually yours - Gerhard Sittig
-- 
mail -s "get pgp key" Gerhard.Sittig@gmx.net < /dev/null

If you don't understand or are scared by any of the above
        ask your parents or an adult to help you.


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




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