[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eval a=b\ c
From: |
Andreas Schwab |
Subject: |
Re: eval a=b\ c |
Date: |
Tue, 26 May 2015 10:04:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
dave@yost.com writes:
> eval $@
You are expanding a shell parameter unquoted. Never do that unless you
know what you are doing.
eval "$@"
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."