ちょくちょくやるので… ( ゚Д゚)マンドクセー
port.lst
1-1024,1059,1067,1068,1076,1080-1084,1103,1109,1110
port.sh
#/bin/bashLANG=Cfor i in `cat port.lst | sed 's/,/ /g'`do echo "$i" | grep "-" >/dev/null \ && seq `echo "$i" | sed 's/-/ /'` \ || echo "$i"done
Result
123: (省略)102210231024105910671068107610801081108210831084110311091110