aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar Paweł Zuzelski <pawelz@pld-linux.org>2010-03-29 08:25:17 +0200
committerGravatar Paweł Zuzelski <pawelz@pld-linux.org>2010-03-29 08:25:17 +0200
commitb9b1422173211d50edb273f93fe3fcc025646dc6 (patch)
treec62e5a6cb2d1a03b2b83de47654dda3da6dda070 /docs
parentd65308d54619c41f7c72266a549ccd42ce826f11 (diff)
Make it more portable (now it works also with ksh)
echo behaviour differs across POSIX shells. Some shells expands strings like '\\n' in echo built-in command (ksh), some does not (bash). According to [1] both behaviours are correct. That means "echo" is not portable for strings containing backslashes. [1] advises to use printf instead. [1] http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions