Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 1998 20:23:25 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        crossd@cs.rpi.edu (David E. Cross)
Cc:        tlambert@primenet.com, cracauer@cons.org, jmoss@ichips.intel.com, chet@po.cwru.edu, freebsd-current@FreeBSD.ORG
Subject:   Re: 'bug' in /bin/sh's builtin 'echo'
Message-ID:  <199809162023.NAA24335@usr04.primenet.com>
In-Reply-To: <Pine.GSO.3.95.980915213623.28206C-100000@eggbeater.cs.rpi.edu> from "David E. Cross" at Sep 15, 98 09:44:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I already tried that.  echo is a shell builtin, and is given precedence
> over binaries in the files system, I found no way to turn that
> 'feature'off.

man sh

...

   There are three types of commands: shell functions, builtin commands, and
   normal programs -- and the command is searched for (by name) in that or-
   der.  They each are executed in a different way.


...so implement it as a shell function instead of a normal program.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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