1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh oa="" while true; do case $1 in -oA) oa=$2; shift ;; *) shift ;; esac [[ $# -eq 1 ]] && break done if [ X"$oa" != X"" ]; then touch $oa/localnet.xml touch $oa/localnet.gnmap touch $oa/localnet.nmap fi