Mail Archives: djgpp/2002/06/20/01:59:35
On Wed, 19 Jun 2002, JT Williams wrote:
> 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
Try the same version of Sed on Solaris. IIRC, there's no difference
between the DJGPP port and the official sources that could affect how \t
and \n are handled in replacements. It's either a Bash issue (perhaps
Bash converts \t into a literal TAB), or a Sed version issue.
> (I thought my Solaris sed might be old, but I can't find
> anything newer than 3.02 on GNU mirrors. Strange....)
Try alpha.gnu.org, in the /gnu directory.
Also, make sure you are running the same version of Bash on both
machines.
- Raw text -