sed

print specific line number from file

sed 'n!d' file

add character

s/regex/&n/

convert first word before equals symbol from lower to upper this is used in config files such as ifcfg to convert all variable names

:%s/^[[:alpha:]_]\{1,\}=/\U&/