Perl

From VVCWiki
Jump to navigationJump to search
  • Replace a field number 18 in multple files "in-place"
for i in REG*D* REG*T* ; do perl -i -lane '$F[18]=500 if /rgmqrcx/;print "@F"' $i/rgconfig.ini ; done