We Recommend

Learning Perl Learning Perl
In this smooth, carefully paced course, a leading Perl trainer teaches you to program in the language that threatens to make C, sed, awk, and the Unix shell obsolete for many tasks. This book is the "official" guide for both formal (classroom) and informal learning. It is fully accessible to the novice programmer.


Posted By

wolfie on 07/13/07


Tagged

Bash regexp perl


Versions (?)


How to replace a string in a file quickly from the command line


Published in: Perl 


  1. perl -p -i -e “s/text/replacement text/g" filename

Report this snippet 

You need to login to post a comment.