shellman
Shell scripting snippet
Learn easy Shell Scripting with Shellman
, examples included. Download free ebook (pdf, epub, mobi). Reading the Basics
part of the book is strongly recommended if you are new to Shell Scripting
.
Read Shellman story on medium (3 min read).
Instead of language specific syntax, here Shell Scripting
, Shellman
focuses on programming concepts. These concepts are grouped under namespaces
. For example string
namespace to name a few contains:
- concat
- length
- reverse
- toLower
- toUpper
- trim
- ...
to activate desired snippet
you need to type string
and select desired snippet
from listed snippets
i.e. string reverse
. Using TAB key fill needed info and you are done.
Sometimes doing a job takes more than a snippet
. Shellman
has ready to use functions to put into your code if you type fn
, and selected function usage is available after typing fx
. For example the function to create a banner with desired text can be accessed via fn banner simple
and to call this function the snippet
is fx banner simple
. Pass required parameters and a banner with your text would be printed.
commands
List ofFull release Notes
Contribution
Latest release Notes
5.6.1
shellcheck
compatible (99.99%).- Added
array print
snippet.