"
er, didn't know there was difference between cli and shell, think this is from cli.
edit: it seems there's a problem in filename. it says "Unable to open output file". is there a way to use utf-8 in cli?
WOW! That's definitely more sophisticated than the way I unarchive stuff (I simply use a menu button in my favorite dir utilities). Clearly, I'm out of my depth, but interested. Did you write this script, and if so, what is the intent behind the intricacy? How do you substitute the name of the archive you are extracting? It's great to see how others do things.

I asked about the cli or shell to find out if you were fat-fingering a command each time.