hi eric, the object is to make the code inside a babel shell block as similar to a real shell script as possible. also, calling it using #+call should be like calling it from another shell script.
this isn't possible in babel at present. the script cannot use "$@" for its positional parameters. it could use <<noweb>>, but that requires the creation of an extraneous block merely to do a call, instead of supplying the value in the call line. if making this possible is not desirable, then i will not request it, but i wanted to explain why this object is not achieved with existing babel options that i am aware of. thanks. samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.