sed.md (277B)
1 # sed 2 3 print specific line number from file 4 ``` 5 sed 'n!d' file 6 ``` 7 8 add character 9 ``` 10 s/regex/&n/ 11 ``` 12 13 convert first word before equals symbol from lower to upper 14 _this is used in config files such as ifcfg to convert all variable names_ 15 ``` 16 :%s/^[[:alpha:]_]\{1,\}=/\U&/ 17 ```