On Sun, Jan 27, 2008 at 02:11:26AM +0000, Matthew Szudzik wrote:
well, the man page is not exactly in error - it just presupposes the use
of the default shell. unfortunately /bin/echo does not support character
sequences such as "\n", even though they are noted as mandated by XSI.
bummer.
marco: can we use printf(1) instead? i think we'd need an extra "\n" (no
idea why):
echo "d a\na\n\n\n\nRAID\nw\nq\n"
would become:
printf "d a\na\n\n\n\nRAID\nw\nq\n\n"
we'd maybe need to replace all echo commands with printf. it would at
least be more portable.
jmc
| Andrew Morton | -mm merge plans for 2.6.23 |
| jjohansen | [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| holzheu | Re: [RFC/PATCH] Documentation of kernel messages |
git: | |
| David Miller | Re: [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 36/37] dccp: Initialisation and type-checking of feature sysctls |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
