[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a=if; $a true; then ...
From: |
Dan Jacobson |
Subject: |
a=if; $a true; then ... |
Date: |
08 Jul 2002 20:19:38 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Let's say that bash magically started supporting this style of call
for builtins, just as it works fine for non builtins:
$ a='if true;then echo ooo;fi' b=who
$ $a
bash: if: command not found
$ eval $a
ooo
$ $b
jidanni pts/4 Jul 8 15:41 (:0)
instead of giving the error. Would such support violate any standards?
--
http://jidanni.org/ Taiwan(04)25854780
- a=if; $a true; then ...,
Dan Jacobson <=