Git development
 help / color / mirror / Atom feed
From: merlyn@stonehenge.com (Randal L. Schwartz)
To: Jan Hudec <bulb@ucw.cz>
Cc: Jim Meyering <jim@meyering.net>, git@vger.kernel.org
Subject: Re: git-clean fails to remove a file whose name contains \\, ",  or  \n, TAB, etc.
Date: Tue, 08 May 2007 16:18:40 -0700	[thread overview]
Message-ID: <86wszi9a5r.fsf@blue.stonehenge.com> (raw)
In-Reply-To: <20070508231115.GA14900@efreet.light.src> (Jan Hudec's message of "Wed, 9 May 2007 01:11:15 +0200")

>>>>> "Jan" == Jan Hudec <bulb@ucw.cz> writes:

Jan> Than I can't think of anything other than xargs -0.

git-ls-files -z .... |
perl -0lne '
   $_ is each name here
'

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

  reply	other threads:[~2007-05-08 23:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 20:32 git-clean fails to remove a file whose name contains \\, ", or \n, TAB, etc Jim Meyering
2007-05-08 20:51 ` Randal L. Schwartz
2007-05-08 20:53   ` Junio C Hamano
2007-05-08 23:11   ` Jan Hudec
2007-05-08 23:18     ` Randal L. Schwartz [this message]
2007-05-08 23:27       ` Karl Hasselström
2007-05-08 23:29         ` Randal L. Schwartz
2007-05-08 23:38           ` Karl Hasselström

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86wszi9a5r.fsf@blue.stonehenge.com \
    --to=merlyn@stonehenge.com \
    --cc=bulb@ucw.cz \
    --cc=git@vger.kernel.org \
    --cc=jim@meyering.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox