Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Note the comment about regular expressions. Some of your dictionary patterns have a + in them. You need to escape them as \+ when adding them to the %patterns hash. Commented Oct 28, 2015 at 23:58
  • I do not have Perl installed, sorry. I'd prefer a command line code. Commented Oct 29, 2015 at 0:04
  • 1
    i recommend installing perl or asking your sysadmin to install perl - it's far too useful a tool to not have it installed. or maybe someone here feels like rewriting the script in awk (it wouldn't be difficult). personally, i only use awk for fairly simple things and perl for anything more complicated (because perl is much easier than awk to write complicated things in) Commented Oct 29, 2015 at 0:10