Re: Re: Re: Handling of shell builtins in make(1)

From: Sergey Babkin (babkin_at_verizon.net)
Date: 05/24/05

  • Next message: Takahashi Yoshihiro: "[RFC] remove bus_memio.h and bus_pio.h"
    Date: Tue, 24 May 2005 11:42:07 -0500 (CDT)
    To: Harti Brandt <hartmut.brandt@dlr.de>, Sergey Babkin <babkin@verizon.net>
    
    

    >From: Harti Brandt <hartmut.brandt@dlr.de>

    >SB>>SL>4. Separate /bin/sh into a front end and back end (libsh) and include libsh
    >SB>>SL>into make.
    >SB>>SL>
    >SB>>SL>(running and hiding as I hit the 'send' key)
    >SB>>
    >SB>>Would there be other uses for this?
    >SB>
    >SB>Yes, I think it could be useful for many programs.
    >
    >Hmm. What program is executing shell lines?

    Anything that allows the user to enter a shell
    command to execute? Such as more, vi and others.
    It would be real neat if they could keep the shell
    variables and such between the commands.

    >SB>Or one more option: add a flag to shell that
    >SB>will make it exit after any command returning non-0
    >SB>status (at the ";" point, as opposed to "&&",
    >SB>"||" and such). Then make could just pass all
    >SB>the commands to the shell in one go. And it would
    >
    >There is the -e flag which does exactly this. Well, the description in the

    Oh, I'm out of date again.

    -SB
    _______________________________________________
    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: Takahashi Yoshihiro: "[RFC] remove bus_memio.h and bus_pio.h"

    Relevant Pages

    • Re: Redirection issue
      ... 1- execute input commands from standard input, ... code to implement the redirection it does not work anymore. ... And it's not good shell behavior to echo commands anyway. ...
      (comp.lang.c)
    • Re: Redirection issue
      ... 1- execute input commands from standard input, ... the phrase "it does not work anymore" carries very little meaning. ... after compilation and execution of the shell with a simple command like ...
      (comp.lang.c)
    • vulnerabilities in scponly
      ... without allowing shell access. ... scponly makes no effort to verify the path to the scp or sftp-server ... arbitrary commands by simply uploading a file. ... However, if this is *NOT* the case, the user could execute arbitrary ...
      (Bugtraq)
    • Re: Redirection issue
      ... 1- execute input commands from standard input, ... "does not work" could be anything from not compiling, not executing, ... after compilation and execution of the shell with a simple command like ...
      (comp.lang.c)
    • Re: PYTHONPATH
      ... The error indicates the shell tried to execute a program named '1' and couldn't find one. ... Arthimetic expressions generally have to be wrapped in ) in bash: ... non-interactive shell with the --login option, it first reads and executes ... commands from the file /etc/profile, ...
      (comp.lang.python)