[TUHS] Warner's Early Unix Presentation

Kurt H Maier khm at sciops.net
Sun Feb 9 09:21:36 AEST 2020


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


More information about the TUHS mailing list