On 10/16/13 8:18 AM, Alexander Huemer wrote: > Hi, > > I wrote a shell script on a non-Debian system and assumed, in my > greenness, that testing it with #!/bin/bash --posix would ensure that > the script would run under dash too. I was wrong. Of course that is the > fault of bash and not dash. Maybe you should have verified your assumptions first. That is simply not what the --posix option does. Posix mode makes bash a superset of Posix; it's not a nothing-but-what-posix-specifies mode. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU chet@xxxxxxxx http://cnswww.cns.cwru.edu/~chet/ -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html