Andreas Schwab <sch...@linux-m68k.org> writes: >> In default mode, you actually can do >> $ function a=b { printf hi\\n; } >> though you can't execute it: >> $ a=b foo >> bash: foo: command not found > > You just have to quote any part of the function name upto the equal sign > to stop if from being interpreted as an assignment. > > $ \a=b foo > hi
Oh, wow! I guess that makes sense but I'd never imagine that one would want it to make sense! Dale