Hi, I tried sending this message to Don Libes and an expect mailing list that I could find, however, the former's email address bounced, and I'm not sure if the latter is the correct list to use... maybe someone from the dejagnu community can help? Seeing as dejagnu is the main user of expect that I can think of:
---------- Forwarded message --------- From: Eric Gallager <eg...@gwmail.gwu.edu> Date: Thu, Jun 20, 2024 at 2:51 AM Subject: Support for Expect in GitHub Linguist To: <li...@nist.gov>, <expect-wi...@lists.sourceforge.net> Hi, I recently submitted a pull request against GitHub Linguist to add support for Expect as a dialect of Tcl: https://github.com/github-linguist/linguist/pull/6614 However, the point came up that it really ought to include some sort of way of distinguishing Expect scripts from other files that might share the `.exp` file extension. I agree that this would be good to do, however, I have no idea how to go about doing so. Could I get some help with developing a heuristic to distinguish Expect files from non-Expect `.exp` files? Thanks, Eric Gallager