====== SED - Change - Parenthesize first character of each word ====== Prints the first character of every word in parenthesis. echo "My name is Peter" | sed 's/\(\b[A-Z]\)/\(\1\)/g' result: (M)y name is (P)eter