Perl Pie

Submitted by code_admin on Fri, 07/20/2018 - 16:11

Find and replace:

perl -pi -e 's/\n//gi' *.txt
The strign is s/SEARCH/REPLACE/gi
g - find all occurances, leave out for just first
i - case insensitive

Tags

RJM Article Type
Quick Reference