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

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

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

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