[Top][All Lists]

[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:


  Message sent via Savannah

reply via email to

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