#!/bin/bash
#面对空格依旧有用
sed -r ':a;s/\b([0-9]+)([0-9]{3}\b)/\1,\2/;ta' nowcoder.txt