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

Related tags:
+ (4)


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

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

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

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 - 12 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

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

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

Is there a way, using Grep with BBEdit 7.1.4, to exclude lines that contain a tab character? [more inside]
posted by the biscuit man on Jul 29, 2004 - 9 answers