bug-groff
[Top][All Lists]
Advanced

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

[bug #64399] [chem] A troff comment causes chem to hang


From: Nikita Ivanov
Subject: [bug #64399] [chem] A troff comment causes chem to hang
Date: Sun, 9 Jul 2023 10:01:59 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64399>

                 Summary: [chem] A troff comment causes chem to hang
                   Group: GNU roff
               Submitter: nikitaivanov
               Submitted: Sun 09 Jul 2023 02:01:57 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 09 Jul 2023 02:01:57 PM UTC By: Nikita Ivanov <nikitaivanov>
These input lines cause chem to hang:


echo '.\" "' | chem
echo '." "' | chem
echo '  word  .\" "' | chem
echo '." word "' | chem


I've discovered this when writing a troff comment. However, as you can see, it
does not matter if it's actually a comment -- there must me a period and two
quotation marks to replicate the bug.

The bug does not happen if you remove the space between the quotation marks or
put any character right in front of the second quotation mark like this:


echo '.""' | chem
echo '." word"' | chem









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64399>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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