Off-Topic > Off-Topic - Tiny Tux's Corner
requesting suggestions for script (solved)
vinnie:
you're right, I had badly written:
now works also your version http://nopaste.info/4fb7681479.html
it has only small problem
--- Code: ---tc@box:~$ _crawl z start
uso: _crawl [ n ] [ e ] [ f ] [ w ] [ s | start ] [ load ] [ save ]
[ n ] configura per monitor netbook
[ e ] configura per monitor esterno
[ f ] configura in fullscreen
[ w ] configura in windows
[ s | start ] fa partire crawl
[ load ] carica i salvataggi (sovrascrive!)
[ save ] stipa i salvataggi (sovrascrive!)
gli argomenti (max4) possono essere messi in qualsiasi ordine
tc@box:~$
--- End code ---
z is an argument of *) and therefore the explanation appear, however, the subsequent start does not work.
I think it's because of the final exit ;; , whit shift works fine: http://nopaste.info/f7c772122f.html
the solutions are equivalent :)
gerald_clark:
http://linux.die.net/man/1/ash
Look at the getopts builtin.
vinnie:
Thanks clark
Navigation
[0] Message Index
[*] Previous page
Go to full version