bug-parallel
[Top][All Lists]
Advanced

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

Re: Quoting error: unexpected EOF while looking for matching `''


From: Hans Schou
Subject: Re: Quoting error: unexpected EOF while looking for matching `''
Date: Tue, 21 Sep 2010 15:54:22 +0200

2010/9/21 Ole Tange <address@hidden>
On Tue, Sep 21, 2010 at 1:55 PM, Hans Schou <address@hidden> wrote:
> Hi GNU parallel
>
> This command works fine:
>   grep "'" NEWS
>
> This command has an error:
>   ls NEWS | parallel grep "'"
>
> sh: -c: line 0: unexpected EOF while looking for matching `''
> sh: -c: line 1: syntax error: unexpected end of file

Search the man page for:

sh: -c: line 0: syntax error near unexpected token

Yes, it was there. (ReadTheFineManual)

But '-q' does not solve the problem. Backslash quoting does.
 
I tried debugging with '-t' and clearly sees what is wrong. Maybe a good idea to use -t if something goes wrong.

Is there an option which dont run the job - just show what will be done?

I will add your error code in next release of the man page.


OK

/hans


reply via email to

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