Date: Thu, 11 Sep 2003 22:20:16 -0700 (PDT) From: Eugene Grosbein <eugen@kuzbass.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/56558: [PATCH] locate(1) cannot be safely used with xargs(1) Message-ID: <200309120520.h8C5KGNV016093@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/56558; it has been noted by GNATS. From: Eugene Grosbein <eugen@kuzbass.ru> To: FUJISHIMA Satsuki <sf@FreeBSD.org> Cc: Eugene Grosbein <eugen@grosbein.pp.ru>, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/56558: [PATCH] locate(1) cannot be safely used with xargs(1) Date: Fri, 12 Sep 2003 13:12:18 +0800 FUJISHIMA Satsuki wrote: > > command | tr '\n' '\0' | xargs -0 foo > would work for any commands, not limited to locate(1). It will break when filename contains '\n' that is allowed. Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309120520.h8C5KGNV016093>