The printf command is very useful for formatting expressions in Bash.
printf -v VAR <format> <expression>
See more information at the URL http://wiki.bash-hackers.org/commands/builtin/printf.
Monday, November 14, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment