| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Tue, 12 Oct 2004 13:23:04 -0400 (EDT) |
| From: | Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> |
| Reply-To: | cygwin AT cygwin DOT com |
| To: | Mark Paulus <mark DOT paulus AT mci DOT com> |
| cc: | cygwin AT cygwin DOT com |
| Subject: | Re: problem with find/grep |
| In-Reply-To: | <0I5H00EZWDWZK8@pmismtp01.mcilink.com> |
| Message-ID: | <Pine.GSO.4.61.0410121321440.24643@slinky.cs.nyu.edu> |
| References: | <0I5H00EZWDWZK8 AT pmismtp01 DOT mcilink DOT com> |
| MIME-Version: | 1.0 |
| X-Scanned-By: | MIMEDefang 2.39 |
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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |