Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



   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@localhost>




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@localhost   http://anduin.eldar.org
[finger brad%anduin.eldar.org@localhost for PGP public key]







Home | Main Index | Thread Index | Old Index