DragonFly submit List (threaded) for 2006-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: replace true(1) and false(1) with simple shell scripts
On Sun, 2006-03-19 at 00:54 +0100, Simon 'corecode' Schubert wrote:
> On 18.03.2006, at 23:14, Robert Nagy wrote:
> > The following diffs are replacing true(1) and false(1) with
> > simple shell scripts because there is no need for more.
> >
> > http://leaf.dragonflybsd.org/~robert/false.diff
> > http://leaf.dragonflybsd.org/~robert/true.diff
>
> I wonder why the guys as CSRG/FreeBSD didn't use shell scripts for
> that. I guess they must have had a reason. I doubt it's about speed,
> but who knows.
I checked other *NIX distros. NetBSD and OpenBSD use shell scripts,
Solaris uses C but with _exit() before the return statement, and GNU
uses a C program, but I haven't checked the source.
> What's the gain in having those as shell scripts?
>
> cheers
> simon
>
--
Jake Maciejewski <maciejej@xxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]