Well I recently started messing around with bash scripts as cgi scripts and was wondering how to pass variables in and what not.
Well it turns out, Apache will define the variable $QUERY_STRING which will contain everything after the first question mark. You can then pars this string to define variables. The general format is "name1=val1&name2=val2". It turns out you can actually declare variables in bash using 'declare' and parameter expansion.
...