[Privoxy-devel] dealing with spaces in filenames

Lee ler762 at gmail.com
Tue Nov 21 06:59:52 UTC 2017


On 11/17/17, Christoph Gysin <christoph.gysin at gmail.com> wrote:
>> It seems simple enough.. but this bit for finding authors
>>  for vfile in `find /home/cvs/P/PR/PROJECT -name '*,v'`; do
>> can't deal with spaces in filenames.
>
> Try:
>
> find /home/cvs/P/PR/PROJECT -name '*,v' -print0 | xargs -0 rlog | sed
> -nr 's/^date:.* author: ([^;]+).*/\1/p'

Thank you!!

I was sure there was a better way to deal with embedded spaces in
filenames.  I just couldn't figure out what it was :(

Regards,
Lee


More information about the Privoxy-devel mailing list