§ ============================================================= § Statements § ============================================================= == Statements.case == map:sc, shortcut:c == case in ) ;; ) ;; *) ;; esac # --- end of case --- == Statements.elif == map:sei, shortcut:e == elif ; then == Statements.for-in == map:sf, shortcut:f == for in ; do <-LOOP_BODY-> done == Statements.for == map:sfo, shortcut:f == for (( CNTR=0; CNTR<0; CNTR+=1 )); do <-LOOP_BODY-> done == Statements.if == map:si, shortcut:i == if ; then <-IF_PART-> fi == Statements.if-else == map:sie, shortcut:i == if ; then <-IF_PART-> else <+ELSE_PART+> fi == Statements.select == map:ss, shortcut:s == select in ; do done == Statements.until == map:su, shortcut:u == until ; do done == Statements.while == map:sw, shortcut:w == while ; do done == Statements.function == map:sfu, shortcut:f == function |?FUNCTION_NAME| () { } # ---------- end of function |FUNCTION_NAME| ---------- == ENDTEMPLATE == § ------------------------------------------------------------- == SEP: Statements.sep-print == == Statements.echo == insert, map:se, shortcut:e == echo -e "" == Statements.printf == insert, map:sp, shortcut:p == printf "%s\n" == ENDTEMPLATE == § ------------------------------------------------------------- == SEP: Statements.sep-array == == Statements.array element == insert, map:sae, shortcut:a == ${[]} == Statements.array elements, all == insert, map:saa, shortcut:a == ${[@]} == Statements.array elements, string == insert, map:sas, shortcut:s == ${[*]} == Statements.subarray == insert, map:ssa, shortcut:s == ${[@]::} == Statements.no of element == insert, map:san, shortcut:n == ${#[@]} == Statements.array indices== insert, map:sai, shortcut:i == ${![@]} == ENDTEMPLATE ==