On 09/04/2012 11:58 PM, Linda A. Walsh wrote: > I'm not talking for interactive use... I'm talking for use in a script > that might run on systems that are not mine -- so I can't rely on shell > settings.
Yes you can. Just start the script with "#!/bin/sh", as usual. When invoked that way, Bash and other shells are POSIX-compliant in this area.