This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: problem with find/grep
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Mark Paulus <mark dot paulus at mci dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 12 Oct 2004 13:23:04 -0400 (EDT)
- Subject: Re: problem with find/grep
- References: <0I5H00EZWDWZK8@pmismtp01.mcilink.com>
- Reply-to: cygwin at cygwin dot com
On Tue, 12 Oct 2004, Mark Paulus wrote:
> Another issue I've run into with find, but typically when I pipe
> it to xargs is that directories/files with spaces in the names cause
> all kind of disruption.
Not related to this thread, and actually not Cygwin-specific. Use "find
... -print0 | xargs -0 ...". In fact, it's also always useful to give the
"-r" flag to xargs.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing." -- Dr. Jubal Harshaw
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/