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.

5
  • but perl is installed on many.
    – osgx
    Commented Dec 27, 2010 at 18:28
  • $ wcalc bash: wcalc: command not found
    – osgx
    Commented Dec 27, 2010 at 18:29
  • osgx: if you wanted Perl solutions you should have asked on stackoverflow. This is not a programming website.
    – user1931
    Commented Dec 27, 2010 at 19:05
  • Little bit of UUOC, too :p
    – user1931
    Commented Dec 27, 2010 at 20:31
  • I want a shell solution. AWK, SED can be used. PERL one-liner is in my question already ))
    – osgx
    Commented Dec 27, 2010 at 21:36