On Dez 04 2022, Dale R. Worley wrote:
> 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 foundYou 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 -- Andreas Schwab, [email protected] GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
