pw wrote: > Can anyone tell me how to ensure (sh flags ??) that > bash doesn't strip '-' from the front end of > arguments passed to a shell script? > > ie: sh script.sh -myarg > > #!/bin/bash > #script.sh > echo "$1" > > > returns: > myarg instead of -myarg man bash search for "--"