I couldn't help myself proposing to use Unix Power Tools to resolve this issue. So here is the one liner that corrected all JSP files. Here are two options, one with perl and the other without it:
find ./jsp/ -name "*.jsp" | xargs perl -p -i -e 's/\t/ /g'
find ./jsp/ -name "*.jsp" | xargs sed -i 's/\t/ /g'
No comments:
Post a Comment