Ralf Wildenhues wrote: > > > I hear that there really do exist systems in actual use > > > on which tr still does not honor backslash-escapes like \r and \n. > > > > Which platforms, please? > > Solaris 10 /usr/ucb/tr. Not likely to be early in PATH, but hey, people > do all kinds of weird things to their path. ;-)
This is not documented in the autoconf manual, section "Limitations of Usual Tools". But I can confirm the fact: $ { echo moon; echo light; } | /usr/ucb/tr -d '\n' ; echo moo light $ { echo moon; echo light; } | /usr/bin/tr -d '\n' ; echo moonlight $ { echo moon; echo light; } | /usr/ucb/tr -d '\012' ; echo moonlight Bruno