pure-bash-bible icon indicating copy to clipboard operation
pure-bash-bible copied to clipboard

๐Ÿ“– A collection of pure bash alternatives to external processes.

Results 66 pure-bash-bible issues
Sort by recently updated
recently updated
newest added

The current logic fails if a function is exported, i.e., `declare -fx funcname`

What's **the purpose** of these instructions ``` : "${chapter[$i]/$'\n'*}"; : "${_/\# }"; : "${_,,}" ```in build.sh? I run `bash build.sh` without them in **ubuntu18.04.2 TLS x86_64**, it get the same...

Would be neat to have a file that could be included from a `.bashrc` (e.g. `source ~/.bashrc-bash-bible`). This could also be useful to reproducibility with `test.sh`

enhancement

Many thanks for this great bible. I have translated it in Turkish. I am not sure about how you manage and list translations of this document, so I created this...

This is very likely **not** perfect but it seems to pass any RGB color I throw at it. ```sh # rgb2hsl - usage: rgb2hsl r g b rgb_to_hsl() { local...

discussion

Include `prepend` function as described [here](https://gist.github.com/helpermethod/ce1be4205960f074f6f5f2a77669f31f). ```sh prepend() { printf '%s%s' "$1" "$(< "$2")" > "$2" } ```

enhancement
discussion

First of all thanks for this amazing repository, it's hard to come by a lot of useful tips like this. I would like to contribute with some of my own...

enhancement

I'm trying to PR a working curl / wget (using /dev/tcp) ``` set -ex function __curl() { read proto server path

discussion

When I saw your repo I immediately thought of this project: https://github.com/bashup/realpaths This is up to you whether to include it in the README, of course. Tagging @pjeby, the author...

enhancement