delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/22/09:39:03

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Tue, 22 May 2001 08:41:13 -0500
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp AT delorie DOT com
Subject: redirection in bash
Message-ID: <20010522084113.H24649@kendall.sfbr.org>
Mail-Followup-To: djgpp AT delorie DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
Reply-To: djgpp AT delorie DOT com

Using the latest bash 2.04 update
with stock djdev203 and DOS 5.0:

% echo foo > bar
% od -c < bar
0000000   f   o   o  \r  \n
0000005

Also (and this is *really* annoying), >> redirection will
introduce \r\n delimited lines even if the file original
was pure \n delimited.

Can this be changed?  If the user has bash loaded, then the
user probably wants the Unixy behavior anyway.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019