can you truss the bad machine to see the tr read and write calls On Mon, 20 Oct 2008 09:35:00 +0100 Chris Ridd wrote: > On 19 Oct 2008, at 18:07, Glenn Fowler wrote:
> > on a machine this fails on
> >
> > what does this output
> > ---
> > #!/bin/sh
> > echo A | tr A '\301' | od -c
> > ---
> On a 10u5 ("good") machine:
> 0000000 301 \n
> 0000002
> On an OpenSolaris ("bad") machine:
> 0000000 A \n
> 0000002
> Ah, so it could be tr. In both cases echo's a shell builtin, and tr
> is /usr/bin/tr.
