~!Hacked By GeNErAL alias Mathis!~ Hacked By GeNErAL Greetz : Kuroi’SH, RxR, ~ \!/Just for Fun ~Hacked By GeNErAL\!/ Hacked By GeNErAL! !
Posts Tagged ‘scripting’
Another useful tip I’m sure most people will be familiar with, but in bash scripts $# stores the number of arguments passed to the script. Eg, combine with $@ (all arguments) for batch processing (what I used it for): foreach $arg in $@; do [stuff] [compare with $# to tell remaining items] done Very basic […]