bug-bash
[Top][All Lists]
Advanced

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

No form commsub if last token ends with & or ;


From: Grisha Levit
Subject: No form commsub if last token ends with & or ;
Date: Sun, 28 May 2023 01:58:26 -0400

Missing final `;':

"$BASH" --pretty-print <<< $'${ : \;;}'
${ : \; }

"$BASH" --pretty-print <<< $'${ : \;\n}'
${ : \; }

"$BASH" --pretty-print <<< $'${ : \&;}'
${ : \& }

"$BASH" --pretty-print <<< $'${ : \&\n}'
${ : \& }

Correct:

"$BASH" --pretty-print <<< $'${ : \;&}'
${ : \; & }

"$BASH" --pretty-print <<< $'${ : \&&}'
${ : \& & }


reply via email to

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