4

Put parentheses around all capital letters using SED

view full story
linux-howto

http://www.unix.com – Hello everyone I tell you that I'm trying to do a bash program that can put parentheses around each capital letter of each line using SED. I tell you probe with: sed -e '1,$s/A/(A)/g' "$file" but only add parentheses in A. then tested with: sed 'y/AB/(A)(B)/' "$archivo" but it gave me an error when I'm wrong? if someone could help me appreciate it a lot! Thank you so much! (HowTos)