Home > perl, stickies > perl find replace

perl find replace

Leave a comment Go to comments

@ shell command line
search and replace in all *.txt files

perl -pi -e 's/maksudnya/kamsudnya/' *.txt

# backup *.txt file before

perl -pi -i.bak -e 's/maksudnya/kamsudnya/' *.txt

Categories: perl, stickies Tags:

  • Similiar Posts

  • Get a Trackback link

    No Comments Yet

    You can be the first to comment!

    Leave a comment