Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <37C550BB.31D6C376@geekspace.com> Date: Thu, 26 Aug 1999 10:35:39 -0400 From: Joshua Rosen Organization: GEEKS X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en,ja,no MIME-Version: 1.0 CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: MS-DOS CR/LF compatibility in $() and ``? References: <19990826121058 DOT 23046 DOT rocketmail AT web113 DOT yahoomail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Earnie Boyd wrote: > > --- Pontus Lidman wrote: > > It seems that when the output of a command contains MS-DOS newlines > > (CR+LF), these are not stripped from the end of the output when command > > substitution is done. > [...] > If I'm correct, then you'll need > to filter the file to remove the \r just as you would on any UNIX environment ie: run it through `tr'. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com