[darcs-users] Post-hook freeze under darcs-unstable mingw compile

Alan Bram alan.bram at oracle.com
Tue May 29 17:44:55 UTC 2007


> Although.. it would take some sed work to really clean up:
> 
> $ darcs query manifest
> ./subdir/hello.cpp
> ./subdir/hello.c
> ./Directory\32\With\32\Spaces/File\32\With\32\Spaces.txt
> ./file.c
> 
> $ darcs query manifest | xargs file
> ./subdir/hello.cpp:                               ASCII C program text
> ./subdir/hello.c:                                 ASCII C program text
> ./Directory32With32Spaces/File32With32Spaces.txt: cannot open
> `./Directory32With32Spaces/File32With32Spaces.txt' (No such file or
> directory)
> ./file.c:                                         ASCII C program text
> 
> $ darcs query manifest | sed -e 's,\\32\\, ,g' | tr \\n \\0 | xargs -0 file
> ./subdir/hello.cpp:                           ASCII C program text
> ./subdir/hello.c:                             ASCII C program text
> ./Directory With Spaces/File With Spaces.txt: ASCII text
> ./file.c:                                     ASCII C program text


Or, how about just ...

    $ darcs query manifest -0 | xargs -0 file


Cheers,
 - arb



More information about the darcs-users mailing list