I'm good at Grep (aka pattern matching, aka regular expressions). Can you help me figure out the best way to learn AWK? [more inside]
posted by Quisp Lover
on Mar 11, 2013 -
The Mac OS X Automator tool lets me run a perl script as well shell scripts, but I'd like to use awk instead. How can I fit this into my workflow? Perl appears in the popup menu of possible shells for the script, but awk does not. [more inside]
posted by maniabug
on Jan 9, 2011 -
Trying to create a Perl or shell script to parse/convert Cisco PIX/ASA logs into a CSV format. Has anyone had any success with this? Since all messages aren't standard, I'm trying to think of the best way to approach this issue. Has anyone had any success, or have a good AWK, Grep, SED, or perl script that can get this done?
posted by fozzie33
on Dec 16, 2010 -
How can I use awk (or something better) to cut a big file into groups of files, based on the occurrence of a pattern? [more inside]
posted by Steve3
on Feb 12, 2010 -
ParseFilter: I have a CSV file full of leads I need to parse into a more, er, concise format. What would the hive mind recommend? [more inside]
posted by cdmwebs
on Nov 3, 2007 -
I wrote a shell script for an acquaintance that renames Macs (OS 10.4) based on their existing names. It works well, but I'm convinced my code could be more efficient. Where can I make improvements? [more inside]
posted by pmbuko
on Aug 29, 2007 -
How to remove groups of records from a text file using awk or similar in Unix based on a flag at the end of the record-groups? [more inside]
posted by misteraitch
on Apr 23, 2006 -
I'm using Grep within BBedit 6.1.2 lite, in order to change some data in tables from "regular" time in the format: "0530PM" to military time: "1730"
Essentially, I am able to locate the data I want using:
Which, in the above example returns: "0530"
So here's the question: I want to treat that result as a number, and add 1200 to it to convert it to military time.
Is there a way to do this within BBedit using the replacement patterns, or do I have to go figure out how to write a perl/python/awk/applescript to accomplish this?
posted by mecran01
on Jan 6, 2005 -