Thread
:
grep, anyone?
View Single Post
03-06-2003, 02:05 PM
iroc409
Confirmed User
Join Date: Jan 2003
Location: midwest side, yo
Posts: 4,728
perl -p -i -e 's/001/002/g' file.txt
a programmind friend of mine happened to be online. you can also cat the file through sed, but that's not as clean.
if anyone else would like to know this
thanks for the reply tho
__________________
<a href="http://www.iroc409.com/"><img src="http://www.iroc409.com/adv/120x60.gif" border=0></a>
icq: 1 7 6 4 2 0 9 6 0
Gallery templates for ONLY $25! w00t!
iroc409
View Public Profile
Visit iroc409's homepage!
Find More Posts by iroc409