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

Related tags:
+ (5)
+ (4)
+ (4)


Using grep to extract x characters of text after a predictable pattern

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

 

Help Me Learn AWK

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

How do I find those hard to find Windows files?

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

parse pix/asa logs

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

reformatting post by e-mail entries in wordpress

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

Shell script handling CSV columns

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

change case in bbedit

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

Apache/GrepFilter: Number Four Son, He Never Calls

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

Grep me into BBEdit address book heaven

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

grep sed or awk me some values

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

Using Grep within BBedit to change some data in tables.

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.

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

Grep with BBEdit 7.1.4

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

Page: 1