View Single Post
Old 06-03-2007, 02:09 PM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Quote:
Originally Posted by Fris View Post
prob some awk/sed/regex ninja type stuff
Yea, about as far as I wanted to play was cd'ing into a directory and running:

ls -f | awk '/.html/ {print "cat " $1}'|sh

I'm sure there's a way to pipe that into a string, reg-out what you don't want and pipe it back into the file. Then again, I remember there being some nifty perl command line thing for it as well... thus I'm no help, but here's a bump for you.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote