- or download this
find . -name '*.fileext' -print0 | xargs -0 perl -pi'.bak' -e 'print "
+#something3.cfg\n" unless $c++;'
- or download this
perl inplace.pl firstFile.fileext
perl inplace.pl secondFile.fileext
...
- or download this
#!perl -pi'*'
print "#something3.cfg\n" unless $cnt++;