in reply to Re^2: One liner to S & R by column
in thread One liner to S & R by column
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'
|
|---|