Subject: Re: CVS commit: src
To: None <lukem@netbsd.org>
From: Brad Spencer <brad@anduin.eldar.org>
List: source-changes
Date: 01/11/1999 20:40:27
Module Name: src
Committed By: lukem
Date: Tue Jan 12 00:18:50 UTC 1999
Modified Files:
src/usr.bin/find: extern.h find.1 find.h function.c option.c
Log Message:
Add support for -printx, which quotes pathnames in an xargs friendly way.
From [bin/6790] by Eric Fischer <eric@fudge.uchicago.edu>
Ummm... isn't the pathname problem delt with in find with the '-print0'
option and in xargs its '-0' option??
% touch 'test file'
% find test* -print | xargs ls -l
ls: file: No such file or directory
ls: test: No such file or directory
... as expected ...
% find test* -print0 | xargs -0 ls -l
-rw-rw-r-- 1 brad wheel 0 Jan 11 20:35 test file
Brad Spencer - brad@anduin.eldar.org http://anduin.eldar.org
[finger brad@anduin.eldar.org for PGP public key]