[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65975: Wrong indentation for shell-script mode with stuff after a pi
From: |
Dan Jacobson |
Subject: |
bug#65975: Wrong indentation for shell-script mode with stuff after a pipe after a "done" |
Date: |
Thu, 14 Sep 2023 04:08:17 -0500 |
If one does C-x h TAB, one will see this is wrongly indented at the end.
Indeed, the problem starts at the "|wc".
$ cat b.sh
if true
then
for i
do echo
done|
wc
fi
if true
then
for i
do echo
done|wc
fi
: bla
$ sh -n b.sh
$ emacs -Q b.sh
emacs-version "29.1"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#65975: Wrong indentation for shell-script mode with stuff after a pipe after a "done",
Dan Jacobson <=