Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 May 2006 15:50:40 -0700
From:      Sean McNeil <sean@mcneil.com>
To:        emulation@freebsd.org
Subject:   Linux expr command vs. FreeBSD version
Message-ID:  <1146610240.80438.4.camel@triton.mcneil.com>

next in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1146610240.80438.4.camel>