That 'f is a function' header weakens the idea substantially.
Anyway, it's good to see these ideas picked up, if late and imperfectly. My
work on the v8 shell was a long time ago.
-rob
On Sun, Feb 9, 2020 at 10:21 AM Kurt H Maier <khm(a)sciops.net> wrote:
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