Probably not what you want to hear, but.... #!/usr/bin/<your-favorite-interpreter> Why bother scripting? Every system I work on has Perl, Python, Tcl, etc. Sometimes I have to modify shell scripts, but usually that's system config so I program the mods in Perl and write tests against them. Happy New Year! :) Rob