Sed removes empty ending lines

If for some reason you have to deal with a strange Apache that hangs serving PHP scripts ending with an empty line, you could find this sed based script I wrote useful. Of course you can use it as:
find . -name "*.php" | xargs ./go

Last update: 2008-05-20

Post a Comment

Your email is never shared. Required fields are marked *

*
*