Re: git-clean fails to remove a file whose name contains \\, ", or \n, TAB, etc.

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: git-clean fails to remove a file whose name contains \\, ", or \n, TAB, etc.

From: Randal L. Schwartz <hidden>
Date: 2016-06-15 22:43:09

quoted
quoted
quoted
quoted
"Jan" == Jan Hudec [off-list ref] 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
[off-list ref] <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!

Re: git-clean fails to remove a file whose name contains \\, ", or \n, TAB, etc.

From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:09

On 2007-05-08 16:18:40 -0700, Randal L. Schwartz wrote:
quoted
quoted
quoted
quoted
quoted
"Jan" == Jan Hudec [off-list ref] writes:
Jan> Than I can't think of anything other than xargs -0.

git-ls-files -z .... |
perl -0lne '
   $_ is each name here
'
Have you seen this?

  http://xkcd.com/c224.html

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help