Trying to find-and-replace text within a file, using the Terminal on Mac OS X 10.7.4. Can't for the life of me get it to work. Please help.
[more inside]
posted by dondiego87
on May 29, 2012 -
6 answers
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
I'm writing a shell script to take a webpage and convert it into a text file. I'd appreciate tips as to how to store URLs, save the file with the URL's title as its name, and also just general tips as to how to improve the script and/or achieve the process better. Specific questions inside.
[more inside]
posted by WCityMike
on Jan 30, 2009 -
17 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
Given BBEdit (or sed) and a file of HTML, how can I script the deletion of all text up to a given comment tag, skip over deleting the part of the file I want to keep, then resume deletion of contents after the next occurrence of a given comment tag?
[more inside]
posted by mph
on Jan 7, 2006 -
7 answers
sed: How do I use it to do a general search/replace on a bunch of files? The docs seem to believe all I have to do is feed it s/regexp/replacetext/g and a list of files and I'm off to the races, but rather than getting the files changed...
[exciting conclusion inside] [more inside]
posted by namespan
on Jun 29, 2004 -
7 answers