bug-findutils
[Top][All Lists]
Advanced

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

[bug #10678] xargs: unmatched single quote


From: Feiyun Wang
Subject: [bug #10678] xargs: unmatched single quote
Date: Sun, 20 Aug 2006 10:35:50 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.7.12) Gecko/20050915

Follow-up Comment #7, bug #10678 (project findutils):

Thanks James a lot! I found "sort -z" very useful.

My problem is that I need the intermediate $$newmd5.file, and the space in
the original filenames makes double quote(") inevitable to me, for example:
1) mkdir C#
2) cd C#
3) touch "C# programmer's guide.doc"
4) find -type f -print0 | xargs -0 -r md5sum
5) find -type f -print0 | xargs -0 -r md5sum \"{}\"
Command 4) and 5) output the same error message:
md5sum: {}: No such file or directory
md5sum: ./C#: No such file or directory
md5sum: programmer's: No such file or directory
md5sum: guide.doc: No such file or directory

I am using Windows XP/GnuWin32 and
GNU xargs version 4.1

As the $$newmd5.file is used elsewhere and there are too many files there, I
wish not walk through the directory twice (with -print and -print0
respectively).
I suggest options like "grep -F -f FILE", if new options were acceptable.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?10678>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]