delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f |
Date: | Wed, 19 Jun 2002 10:26:24 -0500 |
From: | JT Williams <jeffw AT darwin DOT sfbr DOT org> |
To: | djgpp AT delorie DOT com |
Subject: | sed and bash : djgpp vs Solaris |
Message-ID: | <20020619152624.GA1328@kendall.sfbr.org> |
Mail-Followup-To: | djgpp AT delorie DOT com |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.27i |
Reply-To: | djgpp AT delorie DOT com |
I just got bit by a difference between sed under DOS5/djgpp and under Solaris (and using bash on both). Under djgpp, sed accepts \t and \n in a replacement string, but not so under Solaris. djgpp: GNU sed 3.02.80 Solaris: GNU sed 3.02 (I thought my Solaris sed might be old, but I can't find anything newer than 3.02 on GNU mirrors. Strange....) TIA/jtw
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |