If I run tr from two different directories, one directory fails. Both
directories are included in the $PATH. Both directories are nfs mounts
from the same volume on a NetApp filer. This is true on two different
hosts. 

bess@claudius:/home/bess> echo qa-05 |tr [A-Z] [a-z]
tr: too many arguments
Try `tr --help' for more information.
bess@claudius:/home/bess> cd /usr/local/suptools/bin/
bess@claudius:/usr/local/suptools/bin> echo qa-05 |tr [A-Z] [a-z]
qa-05
bess@claudius:/usr/local/suptools/bin> 

bess@sword:/usr/local/suptools/bin> echo qa-05 |tr [A-Z] [a-z]
qa-05
bess@sword:/usr/local/suptools/bin> cd /home/bess
bess@sword:/home/bess> echo qa-05 |tr [A-Z] [a-z]
tr: too many arguments
Try `tr --help' for more information.

I tried to execute #echo qa05-01 |tr [A-Z] [a-z] from both locations and
did an strace on the tr command. The difference I see is that one returns
23 vars and one returns 24 vars. See:

< execve("/bin/echo", ["echo", "qa05-01"], [/* 24 vars */]) = 0
---
> execve("/bin/echo", ["echo", "qa05-01"], [/* 23 vars */]) = 0

Please contact me if you need more info. 

Thanks!

Jen Hamilton
[EMAIL PROTECTED]

Reply via email to