Too Cool for Internet Explorer


Swobodin's Profile | Swobodin's Blog | Back to Fedora Tunisia

Search’n'Replace

To search and replace a string at the same file with “sed” command, use the -i option:
sed -is 's/search/replace/g'
The same option can be used for Perl too; this can help a lot:
perl -pie 's/search/replace/g'

Related posts

(sometimes, the plugin foolishes)
Simple Perl loop script
Cow Story (2)
HOWTO Encourage Women in Linux
Snipper
Perl Poetry

Technorati tags

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

 
 

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a


Top Tunisie Blogs