Re: [techtalk] Parameter at a script-call

2000-04-12 Thread Michelle Konzack
Thanks, it is working now... ;-)) Michelle At 13:03 12.04.2000 -0500, Jeff Dike you wrote > This was the original Message: >> it is only: michelle1:/# myscript -parameter /path/filename >> A small example will be nice. > >#!/bin/bash > >if [ $# -eq 0 ] >then >echo You gave me

Re: [techtalk] Parameter at a script-call

2000-04-12 Thread Jeff Dike
> it is only: michelle1:/# myscript -parameter /path/filename > A small example will be nice. #!/bin/bash if [ $# -eq 0 ] then echo You gave me no parameters elif [ $# -eq 1 ] then echo You gave me one parameter, which is \"$1\" else echo You gave me $# parameters which are \"$*

[techtalk] Parameter at a script-call

2000-04-12 Thread Michelle Konzack
Hello, please can anyone tell me, how to use parameter if I call a script and the usage of the if-statement ??? it is only: michelle1:/# myscript -parameter /path/filename A small example will be nice. Thank you Michelle -- Linux rebootet man in drei Fällen: Neuer Kernel, neue (Board-)H