How-To Geek on MSN
Why printf is superior to echo in Linux scripts
The printf command offers well-defined behavior following the POSIX standard, which means it works the same way across shells ...
If you're writing a Bash script, you will invariably need to pass values to it—aka arguments or positional parameters. Bash's approach is a little clunky, but it works. Examples are the easiest way to ...
Even if you're already familiar with the printf command, if you got your information via "man printf" you may be missing a couple of useful features that are provided by bash's built-in version of the ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results