home go links go books go opinion go gallery go projects go resumé go
about this site
archives
book reviews
"to read" list
tech books
search books
books archive
last 10 posts
quotes
cluetrain
cluetrain (mirrored)
randobracket
image auth
search engine hits
  hit history
indexer stats
user agent list
HTML (view)
  (most up-to-date)
MS Word (dl)
code examples
doesntsuck.com
doesntsuck.com

February 01, 2005

cmd-line file frobbing w/ perl   (link)

http://www.perl.com/pub/a/2004/10/14/file_editing.html
If you only want to read in one or more files, apply a regex to the contents, and spit out the altered text as one big stream...

If you want to edit the files in place, editing each file before going on to the next, that's pretty easy, too...

Posted by yargevad at February 1, 2005 10:57 AM


This weblog is licensed under a Creative Commons License.