replace_matching.md
February 27, 2020 ยท View on GitHub
replace_matching REGEXP STRING PATH
Replaces matching regexps with a string.
use edit
@ Editing sshd_config
- replace_matching 'enabled=0' 'enabled=1' /etc/default/foo.cfg
February 27, 2020 ยท View on GitHub
Replaces matching regexps with a string.
use edit
@ Editing sshd_config
- replace_matching 'enabled=0' 'enabled=1' /etc/default/foo.cfg