David Shaw <dshaw@jabberwocky.com> writes:
>a shell script:
>
> #!/bin/bash
>
> mount /mnt/floppy
> gpg --clearsign $*
> umount /mnt/floppy
Don't use $*! Parameters will be get broken at while spaces, see bash(1) or sh(1). Use ${1+"$@"} instead: #!/bin/bash mount /mnt/floppy gpg --clearsign ${1+"$@"} umount /mnt/floppy