Slightly off topic ...

Helmut Waitzmann Helmut.Waitzmann@web.de
Thu Aug 30 12:57:02 2001


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