Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14295 > unrolled thread

Re: bash 4.3.48(1) and repo: processing of commands halts at first semicolon

Started byChet Ramey <chet.ramey@case.edu>
First post2018-07-03 10:59 -0600
Last post2018-07-03 10:59 -0600
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: bash 4.3.48(1) and repo: processing of commands halts at first semicolon Chet Ramey <chet.ramey@case.edu> - 2018-07-03 10:59 -0600

#14295 — Re: bash 4.3.48(1) and repo: processing of commands halts at first semicolon

FromChet Ramey <chet.ramey@case.edu>
Date2018-07-03 10:59 -0600
SubjectRe: bash 4.3.48(1) and repo: processing of commands halts at first semicolon
Message-ID<mailman.3022.1530637183.1292.bug-bash@gnu.org>
On 7/3/18 10:34 AM, Chet Ramey wrote:
> On 7/2/18 5:58 PM, toww wrote:
> 
>> Bash Version: 4.3
>> Patch Level: 48
>> Release Status: release
>>
>> Description:
>> There seems to be a new incompatibility or incorrect string parsing in how
>> the Google "repo" utility interacts with the bash shell. Previously I could
>> invoke the "repo" command, passing to it a string to execute multiple
>> commands separated by semicolons (';' characters), and all commands would
>> execute. Now with the latest bash 4.3.38, only the first command executes,
>> and processing stops at the semicolon.
> 
> It would help to see the exact set of commands that repo uses to invoke the
> shell, the options it passes to shell invocation. It would help more to
> have a reproducer that doesn't involve `repo'.

You could also check whether repo is invoking /bin/sh instead of /bin/bash,
and, if so, whether bash is installed as /bin/sh.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web