HPR Friends,

Would you help me get show #3 under my belt? The idea would be for you
to record a chunk of audio explaining a snippet of shell script and I
would put them all together along with my own contribution and submit
that as a single show.

I don't really have any criteria in mind as far as content or length,
I guess it could be anything, something helpful, something silly, a
common mistake, a pet peeve, a suggestion on style, a "trick",
whatever.

As an example of something silly, I came up with this method to move
function declarations to the end of the script:

```
#!/bin/sh
source <(sed '1,/^exit/ d' $0)

__say "hello"

exit

__say()
{
    echo $1
}
```

Send your audio as an attachment or link along with any notes to
onl...@chave.us (off list so as to keep the show a surprise) - make
sure to say your host name. I won't edit content but I might try to
normalize the audio level.

Thanks for your help!
Carl

_______________________________________________
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org

Reply via email to