8 posts tagged with awk. (View popular tags)
Displaying 1 through 8 of 8. Subscribe: Posts tagged with awk

ClichéTragedyFilter: I've got a friend I went to high school with, who I saw every day. Now, in college, I see her twice a week on a good week. Half of me still thinks it would be a good idea to "enhance" things, however, all of me knows I would never even try unless I had some advice from someone who's had at least minimal experience. Which is more than I have. [more inside]
posted by lhude sing cuccu on Sep 16, 2009 - 16 answers

How do I increment an alphanumeric string using awk? [more inside]
posted by edverb on Feb 5, 2009 - 14 answers

Help with awk - printing everything EXCEPT the first column? [more inside]
posted by Flunkie on Dec 1, 2007 - 7 answers

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 - 23 answers

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 - 11 answers

I want grep (or sed or awk) to return a word between two "bookend" words. [more inside]
posted by Null Pointer and the Exceptions on Jan 10, 2007 - 14 answers

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 - 27 answers

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:

(####)PM

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 - 10 answers