Quantcast
Channel: sed replacing character in a file - Ask Ubuntu
Browsing all 2 articles
Browse latest View live

Answer by terdon for sed replacing character in a file

The golden rule in regular expressions is: less is more. Always try and find the simplest expression that is sufficient to target your search string. So instead of trying to match the entire line, look...

View Article



sed replacing character in a file

I need to replace a single character in a/etc/request-key.conf The file format is; ############################################################################### # # Copyright (C) 2005 Red Hat, Inc....

View Article
Browsing all 2 articles
Browse latest View live




Latest Images