bug-bash
[Top][All Lists]
Advanced

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

Re: syntax error while parsing a case command within `$(...)'


From: Oğuz
Subject: Re: syntax error while parsing a case command within `$(...)'
Date: Wed, 17 Feb 2021 17:53:41 +0300

16 Şubat 2021 Salı tarihinde Chet Ramey <chet.ramey@case.edu> yazdı:
>
> This is just academic. No sane person would write these without some kind
> of delimiter.
>

Yeah, `parse_comsub' really needs some work anyway.

  $ ./bash -c '$(case x in x|esac) foo;; esac)'
  ./bash: -c: line 1: syntax error near unexpected token `;;'
  ./bash: -c: line 1: `$(case x in x|esac) foo;; esac)'


-- 
Oğuz


reply via email to

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