[techtalk] Parameter at a script-call

Michelle Konzack starone at cybercable.fr
Wed Apr 12 19:15:41 EST 2000


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 no parameters
>elif [ $# -eq 1 ]
>then
>    echo You gave me one parameter, which is \"$1\"
>else
>    echo You gave me $# parameters which are \"$*\"
>fi
>
>				Jeff
--------> The Reply begins not here, it is at the beginning ^
-- 
Linux rebootet man in drei Fällen: 
Neuer Kernel, neue (Board-)Hardware, Stromausfall....

Aber Windows rebootet man auch in drei Fällen: 
Schutzverletzung, Bluescreen, keinen Bock...






More information about the Techtalk mailing list