[Solved] How to match and remove a string of characters in a pattern
[ad_1] awk -F ‘|’ -v ‘OFS=|’ ‘{$13 = $16; NF -= 3; print}’ file or perl -F’\|’ -ne ‘splice(@F, 12, 3); print join(“|”, @F)’ file 1 [ad_2] solved How to match and remove a string of characters in a pattern