File: netgen.sh

package info (click to toggle)
ipset 6.23-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,356 kB
  • ctags: 3,215
  • sloc: ansic: 30,595; sh: 14,626; makefile: 212; pascal: 125; awk: 3
file content (9 lines) | stat: -rwxr-xr-x 175 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
#!/bin/sh

echo "n test hash:net hashsize 32"
for x in `seq 0 255`; do
    for y in `seq 0 3 253`; do
    	z=$((y+2))
    	echo "a test 10.$x.$y.0-10.$x.$z.255"
    done
done