bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacements for regular shell builtins


From: Paul Eggert
Subject: Re: Replacements for regular shell builtins
Date: Mon, 21 Feb 2005 12:48:31 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Eric Blake <address@hidden> writes:

> POSIX XRAT also mentions that the simplest implementation for finding
> regular builtins via exec is to have each builtin utility also be the
> 8-byte file:
> $0 "$@"

That would be good enough for coreutils.  I would prefer an
implementation like this to having separate executables for each such
utility.  These executables are for pedants only, so there's no point
wasting much of our time with them.

Perhaps you could prepare a patch along those lines?  We'd have to get
copyright papers signed for you of course, but you know the drill.

> Also, remember that not all shells follow POSIX by providing all 17
> regular built-ins; for example, ash does not have alias or unalias, and
> bash does not have newgrp.

For these utilities we can simply insist on a POSIX shell.  Pedants
(who are the only audience here, really) won't object to such a
requirement.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]