[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Commands executed with $($prog) do not run properly
From: |
Andreas Schwab |
Subject: |
Re: Commands executed with $($prog) do not run properly |
Date: |
Mon, 08 Nov 2010 16:13:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hans-Georg Bork <hgb@hgbhome.net> writes:
> if this is true, then please explain the differences between
> $ find /test -type d ! -wholename "/test"
> (/test not shown)
> and
> $ prog='find /test -type d ! -wholename "/test"'
> $ echo $prog
> find /test -type d ! -wholename "/test"
> $ echo "$($prog)"
> (/test shown)
> (more results in original mail)
Do "set -x" and note the executed commands.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."