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

Re: detect shell script language

Miles Bader wrote:
> Nonetheless, if such a cookie is present, it's a great thing to use for
> this purpose, as it's unambiguous.

Sure, but still I would begin with parsing shebang (with some additions --
like Tcl), and then I would see how many scripts are ambiguous.


GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
http://www.ceplovi.cz/matej/blog/, Jabber: ceplma@jabber.cz
23 Marion St. #3, (617) 876-1259, ICQ 132822213
Never ascribe to malice that which is adequately explained by
        -- Napoleon Bonaparte (or many other people to whom this
           quote is ascribed)

Reply to: