↧
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 Articlesed 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