Mail Archives: cygwin-developers/1998/03/31/17:36:34
At 09:56 AM 3/31/98 -0500, Ian Lance Taylor wrote:
> Date: Fri, 27 Mar 1998 16:56:46 -0800
> From: Eric Bachalo <ebachalo AT cygnus DOT com>
>
> The command 'echo -@foo' will echo the contents of the file foo to the
screen.
>
>I presume that this is not literally true. That is
> cat foo
>and
> echo -@foo
>should not produce identical output. I would expect the latter ot
>compress unquoted strings of spaces, tabs, and newlines into a single
>space. In particular, barring quoting, I would expect it to always
>print only a single newline.
>
>Ian
Very good point Ian. I failed to mention that all carriage returns and new
lines ('\r' and '\n') in file foo are replaced with spaces. I did not do
any compression. Sorry. Didn't think of it. Would not be hard for me to
add if needed.
Best Regards,
Eric Bachalo
- Raw text -