Re: Error in softraid documentation?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Szudzik <mszudzik@...>
Cc: <marco@...>, <misc@...>
Date: Monday, January 28, 2008 - 9:49 pm

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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Error in softraid documentation?, Matthew Szudzik, (Sat Jan 26, 10:11 pm)
Re: Error in softraid documentation?, Philip Guenther, (Mon Jan 28, 9:49 pm)
Re: Error in softraid documentation?, Jason McIntyre, (Mon Jan 28, 9:49 pm)
Re: Error in softraid documentation?, Jason McIntyre, (Tue Jan 29, 6:28 am)
Re: Error in softraid documentation?, Marco Peereboom, (Mon Jan 28, 10:13 pm)