[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110655] AT&T UnixPC (3b1) shell thrown off by #( after case.
From: |
Paul Eggert |
Subject: |
[sr #110655] AT&T UnixPC (3b1) shell thrown off by #( after case. |
Date: |
Mon, 16 May 2022 01:28:47 -0400 (EDT) |
Update of sr #110655 (project autoconf):
Status: None => Wont Do
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
The #( is not needed by any shell I know of. It's there for two reasons: (1)
editors that match parens and get confused by 'case' with unbalanced parens.
(2) Autoconf uses that aren't properly quoted and that also get confused with
'case' with unbalanced parens.
(1) and (2) together suggest that we should leave the Autoconf code alone. If
you're running on a shell that doesn't do comments correctly, one fix is to
port a working shell and use that instead. You might try bootstrapping 'Bash'
by editing its configure script with 's/#((*$//' and then running 'configure;
make'. Or any other POSIX-confirming shell should do.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110655>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/