bug-bash
[Top][All Lists]
Advanced

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

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


From: Oğuz
Subject: syntax error while parsing a case command within `$(...)'
Date: Sat, 13 Feb 2021 23:21:36 +0300

  $ bash -c ': $(case x in x) esac)'
  bash: -c: line 1: unexpected EOF while looking for matching `)'
  bash: -c: line 2: syntax error: unexpected end of file

`case x in x) esac' is a complete case command, a syntax error is
unexpected here.


-- 
Oğuz


reply via email to

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