$ echo "id: xxx(6667)xxx"|awk -F "[()]" '{print $2}' $ 6667 $ echo "abc[defg]higk" | awk -F "[][]" '{print $2}' $ defg
-F "[可以制定多个分隔符]"