shell_builtins
Table of Contents
Shell Built-ins
Ksh/Bash
String operations
# Strip extension: ${var%.ext} # Strip filename (extract directory): ${path%/*} # Strip path (extract filename): ${path##*/}
Variable assignation
# Valeur par defaut: var2=${var1:-valDef}
shell_builtins.txt · Last modified: 2012/08/07 10:47 by ginko