The sed command is very useful for searching and replacing text in a file. This is how to search for and replace a text string in a file. [email protected] ~ $ sed -i ‘s/&lt;main&gt;/&lt;mein&gt;/gi;’ [email protected] ~ $ sed -i ‘s/&lt;main&gt;/&lt;mein&gt;/gi;’ my.c This is how to search and replace text in a file and leave a …

The search and replace dialog in Gedit. I have used this to convert a comma delimited file to a newline delimited file. I had saved a huge long list of IP addresses that I had to put into the banlist on my forums, and the list was comma delimited, but the latest PHPBB software will …