Re: Handling of shell builtins in make(1)

From: Harti Brandt (hartmut.brandt_at_dlr.de)
Date: 05/24/05

  • Next message: Stijn Hoop: "Re: Handling of shell builtins in make(1)"
    Date: Tue, 24 May 2005 10:08:19 +0200 (CEST)
    To: Max Okumoto <okumoto@ucsd.edu>
    
    

    On Mon, 23 May 2005, Max Okumoto wrote:

    MO>4. Extend .SHELL: to allow specifing a list of built-in. And then
    MO> we should define them in bsd.sys.mk or some other config file.

    We would need to add yet another config file for this because make
    doesn't read anything if given the -r flag. It would end up having
    no shell which would be wrong.

    MO>This will allow people to add keywords for their shells, and
    MO>remove that stuff from the make source code. Hard coding it
    MO>in the binary is wrong.

    The initial shell (/bin/sh) must be in the binary because it must run with
    -r. I see no sense to add another config file just for the purpose
    of specifying the shell. What would that give you that you cannot do now?

    harti
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Stijn Hoop: "Re: Handling of shell builtins in make(1)"

    Relevant Pages

    • Re: Handling of shell builtins in make(1)
      ... Extend .SHELL: to allow specifing a list of built-in. ... SH>I think it's more that hardcoding a list of builtins is undesirable. ... 'bind' execute the shell builtin or do we want to execute it ...
      (freebsd-arch)
    • Re: Debian & FD Limit
      ... As long as there is not a real control software for it, ... login binary's configuration. ... I want to do it the debian way: a config file. ... >> then exit the shell, you find that the cd didn't affect your current ...
      (comp.os.linux.setup)
    • Re: "time" command in linux related to shell
      ... as each shell may have its own built-in ... However if I type "time lsl", it gives, ... the latter command since it invokes tcsh. ...
      (comp.unix.shell)
    • Re: Expanding environment variables
      ... >BM> any other shell metacharacters. ... >in latter is as complicated as embedded tilde expansion. ... If the config file owner is the same as the person running the ... users can edit the config file then they can use it as a way to hack him. ...
      (comp.unix.programmer)
    • Re: Problem with my Else statement
      ... and the shell would be ... if the .vnc config file is not located in its default location ... >> Dim sStr As String, bFound As Boolean ...
      (microsoft.public.excel.programming)