plink -serial COM24 -sercfg 115200,8,n,1,N | perl -ne "/^(Pct|NRS)/ && print" #### plink -serial COM24 -sercfg 115200,8,n,1,N | perl -MTerm::ANSIColor -ne "print colored($_, /^(Pct|NRS)/ ? 'bright_yellow' : 'white')"