I'm trying to work out how to use something like grep or sed or awk (or maybe even some Perl) to extract a string of characters which appears in a predictable place in a series of text files. Help/advice/tutorials very welcome! [more inside]
posted by infinitejones
on Mar 15, 2013 -
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 -
Is there a free and/or open source program for Windows that provides functionality and power similar to Linux's grep/find/locate commands? [more inside]
posted by khelvan
on Jun 25, 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 -
Technical Wordpress question. I want to post machine-generated e-mails to a Wordpress blog via e-mail, and reformat them before they go live. [more inside]
posted by adamrice
on May 6, 2010 -
I'm using a shell script to handle some excel docs by converting to csv and reformatting it a little bit. I'm having some difficulty going on with the next part of the script. Some help would be great. :) [more inside]
posted by fightoplankton
on Jun 10, 2009 -
I have a .csv of names and email addresses in the format: email,firstname,lastname. Some of the names are in ALL CAPS, some are Properly Capitalized. Is there a way to fix the ALL CAPS names in one fell swoop using BBEdit? I'm not a grep/regex guy, so I appreciate your help.
posted by griseus
on Jan 19, 2009 -
GrepFilter: How to pull the last 10 authusers from an Apache log file, without all the noise? [more inside]
posted by rokusan
on Nov 4, 2007 -
Could a good grep samaritan help me out of "find and replace" purgatory into BBEdit heaven? [more inside]
posted by unclemonty
on Feb 26, 2007 -
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 -
What I am looking for is a directory 'diff' tool. I have two identical directories, fairly deeply nested, with lots of files. I want to modify some files in one of the directories, run the 'diff' tool against the two directories, and have it return a list of files have been modified. I am familiar with grep and diff, however I am unsure as to how to format this exact request. [mi] [more inside]
posted by patrickje
on Sep 24, 2004 -