On Sun, Feb 09, 2020 at 10:11:06AM +1100, Rob Pike wrote:
bash-3.2$ export f
You need export -f f here.
How do I get bash to print the function as (shell) source code, so I
could edit it and play with it again?
$ type f
f is a function
f ()
{
echo hi
}
I don't like bash, but it has every feature ever thought of. Maybe I
could better phrase that: I don't like bash, because it has every
feature ever thought of.
khm