From: ebachalo AT cygnus DOT com (Eric Bachalo) Subject: Re: -@file 31 Mar 1998 17:36:34 -0800 Message-ID: <3.0.5.32.19980331104110.00b1c9d0.cygnus.cygwin32.developers@pop.cygnus.com> References: <199803311456 DOT JAA26102 AT subrogation DOT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Ian Lance Taylor Cc: cygwin32-developers AT cygnus DOT com, fgeers AT cygnus DOT com At 09:56 AM 3/31/98 -0500, Ian Lance Taylor wrote: > Date: Fri, 27 Mar 1998 16:56:46 -0800 > From: Eric Bachalo > > 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