Date: Tue, 24 May 2005 11:42:07 -0500 (CDT) From: Sergey Babkin <babkin@verizon.net> To: Harti Brandt <hartmut.brandt@dlr.de>, Sergey Babkin <babkin@verizon.net> Cc: arch@freebsd.org Subject: Re: Re: Re: Handling of shell builtins in make(1) Message-ID: <4494552.1116952927843.JavaMail.root@vms074.mailsrvcs.net>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4494552.1116952927843.JavaMail.root>