21.08.2012 Aufrufe

Computertechnik mit Mikrocontrollern

Computertechnik mit Mikrocontrollern

Computertechnik mit Mikrocontrollern

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

ANHANG D. PROGRAMM PCB 241<br />

pslayout $1<br />

sed -e "/^#/d" -e "/^$/d" -e "s/\\\//" $1| cut -d: -f1<br />

echo showpage<br />

;; esac ; } # end of method layout<br />

################################## mlayout ###################################<br />

Lot="$Lot" # List Of Tools (to check installation)<br />

Lom="$Lom mlayout"; pcb.mlayout () { funcname=pcb.mlayout<br />

case $Met in<br />

help|man) echo "Usage: $funcname FILENAME x y"<br />

if test "$Met" = "man"; then cat &1; then echo CANNOT FIND Program $n !; fi; done<br />

if test $Myn = $Prognam; then # basic Classname. called<br />

Programheader<br />

for n in help man deinstall $(echo $Lom); do Install $Nam.$n; done<br />

else # method Classname.Fun called<br />

if [ "$1" = "-h" -o "$1" = "--help" ]; then ${Dir}/${Nam}.help ; Quit -1; fi<br />

trap "Quit -1" SIGINT # ^C<br />

case $Fun in<br />

man)<br />

case $1 in<br />

"") echo Usage: ${Nam}.man METHODNAME;;<br />

deinstall) echo ${Nam}.$1 Unlinks all methods.;;<br />

help) echo ${Nam}.$1 Gives short help for all methods.;;<br />

man) echo ${Nam}.$1 Gives help for named method.;;<br />

*) Met=$Fun; ${Nam}.$1;;<br />

esac;;<br />

help)<br />

echo Usage: ${Nam}<br />

echo Usage: ${Nam}.deinstall<br />

echo Usage: ${Nam}.help<br />

echo Usage: ${Nam}.man METHODNAME<br />

for n in $(echo $Lom|tr " " "\n"|sort|uniq); do

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!