Sunday, October 09, 2016

[kuqjbyhj] Desirable features for a shell

Features of bash I use.  (Browsing through the manpage of bash.)  Motivation was thoughts of creating a better command-line shell, perhaps with a more regular syntax or more features, but a better one will have to retain old useful features.

^C
^L
^Z & bg fg wait "time wait" $! jobs
readline, history
pipes
redirection noclobber >|
interpolation (backquotes)
PATH
environment variables for child processes
subshells (parentheses) usually then piped
completion (tab)
glob expansion
cd pushd popd dirs pwd CDPATH
set -e -x "-o pipefail" -u
programming: control flow, local variables, functions
exit status && ||
prompt customization

No comments :