fork(1) download
  1. NF==2 && match($2,/^[0-9]{3}/){
  2. print "(" substr($2,RSTART,RLENGTH) "}" substr($2,RSTART+RLENGTH)
  3. }
Success #stdin #stdout 0s 4792KB
stdin
Danish 5555551212
3456782
Bulbul 5555551213
Kaloana 5555551214
Tina 6665551215
Cj
Mayuri 6665551216
stdout
(555}5551212
(555}5551213
(555}5551214
(666}5551215
(666}5551216