Skip to content

elifarley/shellbase

Repository files navigation

GitHub tag Github All Releases

shellbase

Some useful shell scripting functions and customizations

See Also

Tips

  • Prefer [ (or test) over [[: @Tobia, [ is a standard command. It's not so much that command that is horrible but the way Bourne-like shells parse command lines. [[...]] is a ksh construct that has issues of its own in various shells. For instance, until recently [[ $(...) ]] wouldn't work in zsh (you needed [[ -n $(...) ]]). Except in zsh, you need quotes in [[ $a = $b ]], the [[ =~ ]] has incompatible differences between implementations and even between versions for bash and several bugs in some. Personally, I prefer [. –Stéphane Chazelas - Jan 16 '17 at 15:55

About

Some useful shell scripting functions and customizations

Resources

License

Stars

Watchers

Forks

Packages

No packages published