Cameron Simpson wrote: > On 20Dec2008 08:57, I wrote: > | What's wrong with this? > | > | #!/bin/bash If you're going to use bash, why not just exec -l the users shell to make it start with argv[0] = '-'? Not that I'm quite following what you're trying to do though. Peter -- Peter O'Gorman http://pogma.com