i need a function that decodes form data encoded in HTTP GET REQUEST URL:
www.myspace.com/formWrite?user=jdoe&name=john+doe
and return a dictionary of key/value pairs representing the
form data. ‘+’ signs in values should be converted to spaces
{'user':'jdoe','name':['john doe']}
below is my...
I already have a program 'name2num' that converts the months to a number. e.g. jan = 1, mar = 3, etc.. I'm new to shell scripting and below is what I have so far:
if [ $# = 0 ] ; then
echo "usage: $0 month .."
exit
fi
MONTH = ""
DASH = FALSE
for m in $*
do...
I want to create a script that can accepts more than one month name on the command line, as in "mycal jan feb" and also accept ranges of months like "mycal jan - mar" or also "mycal jan - mar 2004 apr 2003"
Thanks for the help
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.