dylanaraps / pure-bash-bible

📖 A collection of pure bash alternatives to external processes.
MIT License
36.53k stars 3.28k forks source link

Notes with alternatives #39

Closed jsh closed 6 years ago

jsh commented 6 years ago

Dylan,

Nice work! Lots of tasty recipes in this repo.

I offer a few optional ingredients, which you're welcome to take or toss. To make it easier, I haven't edited your files directly, just illustrated alternatives with scripts in separate files. They're grouped by chapter: "chapter1.note" and so on.

I do prefer short to long, unless making something short would also make it cryptic. (This ain't "shell golf.") Thus, you'll see me write

   foo() { echo hello; }

not

    foo() {
        printf("%s\n", hello)
    }

but that's just my personal taste. YMMV.

I could have sent you the alternatives in email, but sending you this pull request seemed easier. :-)

Again, thanks for the work.

dylanaraps commented 6 years ago

Thanks for this. Sorry about the delay. Life got in the way the past few months. Will take a good look at this now though.

jsh commented 6 years ago

I made the pull request in error and have deleted it. All the best.