Linux Shell Scripting Cookbook(Third Edition)
上QQ阅读APP看书,第一时间看更新

There's more...

While using flags for echo and printf, place the flags before any strings in the command, otherwise Bash will consider the flags as another string.