[TUHS] Warner's Early Unix Presentation

Rob Pike robpike at gmail.com
Sun Feb 9 09:26:45 AEST 2020


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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20200209/7b6f2ad2/attachment.html>


More information about the TUHS mailing list