Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!texbell!bigtex!james From: james@bigtex.cactus.org (James Van Artsdalen) Newsgroups: gnu.bash.bug Subject: bashed bug Message-ID: <17952@bigtex.cactus.org> Date: 11 Jun 89 16:22:42 GMT Organization: Institute of Applied Cosmology, Austin TX Lines: 26 extract_command_subst() in subst.c appears to have a typo, "==" instead of "=". Here's a patch: line numbers are approximate. *** /tmp/,RCSt1a12423 Sun Jun 11 11:20:34 1989 --- subst.c Sun Jun 11 11:18:52 1989 *************** *** 179,185 **** else { if (c == '"' || c == '\'' || c == '\\') ! delimiter == c; } } --- 186,192 ---- else { if (c == '"' || c == '\'' || c == '\\') ! delimiter = c; } } -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789