bug-bash
[Top][All Lists]
Advanced

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

Re: Why is command substitution happening?


From: Andreas Schwab
Subject: Re: Why is command substitution happening?
Date: Tue, 12 Apr 2011 16:01:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Bill Gradwohl <address@hidden> writes:

> Running it recently produced :
> bash: command substitution: line 2201: syntax error near unexpected
> token `('
> bash: command substitution: line 2201: `rmdir --ignore-fail-on-non-empty
> "/snapshot/Music/Etta James/The Essential Etta James/The Essential Etta
> James (Disc 2)"'
>
> I'm trying to understand why command substitution is happening at all,
> since the opening paren isn't preceded by a dollar sign.

The paren is a red herring, you need to get rid of the backquote.

(Use find instead of tree.)

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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