Linux expr command vs. FreeBSD version

Sean McNeil sean at mcneil.com
Tue May 2 22:50:44 UTC 2006


I ran into a problem with paths when running linux emulation.  It
appears that when looking for a file, linux emulation will first
try /compat/linux/path and if not found, /path.  This causes grief with
expr as the Linux version supports enhancements like "expr match"
whereas the FreeBSD version does not.  To get around the issue, I put a
symlink in /compat/linux/bin/expr -> /compat/linux/usr/bin/expr. I don't
know of any better solution.  Anyone?

Cheers,
Sean




More information about the freebsd-emulation mailing list