From owner-freebsd-emulation@FreeBSD.ORG Wed May 3 06:12:41 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F7BE16A403 for ; Wed, 3 May 2006 06:12:41 +0000 (UTC) (envelope-from root@zhao.intron.ac) Received: from zhao.intron.ac (tu073217.ip.tsinghua.edu.cn [166.111.73.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id D864243D48 for ; Wed, 3 May 2006 06:12:40 +0000 (GMT) (envelope-from root@zhao.intron.ac) Received: from zhao.intron.ac (localhost [127.0.0.1]) by zhao.intron.ac (8.13.6/8.13.4) with ESMTP id k436CcFf067426; Wed, 3 May 2006 14:12:38 +0800 (CST) (envelope-from root@zhao.intron.ac) Received: (from root@localhost) by zhao.intron.ac (8.13.6/8.13.4/Submit) id k436CaiI067425; Wed, 3 May 2006 14:12:36 +0800 (CST) (envelope-from root) Message-Id: <200605030612.k436CaiI067425@zhao.intron.ac> References: <1146610240.80438.4.camel@triton.mcneil.com> In-Reply-To: <1146610240.80438.4.camel@triton.mcneil.com> From: mag@intron.ac To: Sean McNeil Date: Wed, 03 May 2006 14:09:42 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Linux expr command vs. FreeBSD version X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 06:12:41 -0000 So do I. It's somewhat redundant to specify "/bin/expr" instead of "expr". Sean McNeil wrote: > > 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 > > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"