Changes

Bash Builtin Commands

486 bytes added, 18:25, 9 February 2014
The following lines were added (+) and removed (-):
== printf ==The printf command provides a method to print pre-formatted text, expanding shells script standard output over the echo command.  See format and example below:  printf <FORMAT> <ARGUMENTS...>  printf "Last name: %s\nName: %s\n" "$SURNAME" "$LASTNAME"the printf does not automatically line feed unlike the echo command.  LF is not implied, it must be stated.  See two equivalents below:  echo "Hello World"  printf "Hello World\n"  printf "%s\n" "Hello World"
Bureaucrat, administrator
16,221
edits