#!/bin/bashfor i in `seq 10`do if ((i%3==0)) thenecho !! continue fiecho $idone
结果:
12!!45!!78!!10
换成break结果为
12!!