LXer: Bash printf Command
by LXer from LinuxQuestions.org on (#545FW)
Published at LXer:
Typically, when writing bash scripts, we use echo to print to the standard output. echo is a simple command but is limited in its capabilities.To have more control over the formatting of the output, use the printf command. The printf command formats and prints its arguments, similar to the C printf() function.
Read More...


Typically, when writing bash scripts, we use echo to print to the standard output. echo is a simple command but is limited in its capabilities.To have more control over the formatting of the output, use the printf command. The printf command formats and prints its arguments, similar to the C printf() function.
Read More...