[Omaha.pm] Strip last 15 chars off of every row of every file in a directory...

Jay Hannah jhannah at omnihotels.com
Tue Mar 7 08:55:19 PST 2006


Just got asked this question. Here's my untested response:

perl -pi -e 's/.{15}$//' *

Not bad for untested? -grin-

j



More information about the Omaha-pm mailing list