If you want to play it safe and list all security types, you can use alternation to list them all (see perlre and perlretut:
perl -p -i.bak -e 's/(CUSIP|CUSIQ|something else)Y/${1}H'
In reply to Re^3: One liner to S & R by column
by Corion
in thread One liner to S & R by column
by dirtdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |