1#!/bin/sh - 2# 3# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. 4# generated from: 5# 6# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.101 2022/11/09 19:35:24 krw Exp 7# OpenBSD: MAKEDEV.common,v 1.120 2023/01/28 11:04:47 phessler Exp 8# OpenBSD: MAKEDEV.mi,v 1.83 2016/09/11 03:06:31 deraadt Exp 9# OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp 10# 11# 12# Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> 13# 14# Permission to use, copy, modify, and distribute this software for any 15# purpose with or without fee is hereby granted, provided that the above 16# copyright notice and this permission notice appear in all copies. 17# 18# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 19# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 20# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 21# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 22# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 23# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 24# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 25# 26# Device "make" file. Valid arguments: 27# all makes all known devices, including local devices. 28# Tries to make the ``standard'' number of each type. 29# ramdisk Ramdisk kernel devices 30# std Standard devices 31# local Configuration specific devices 32# Disks: 33# cd* ATAPI and SCSI CD-ROM drives 34# fd* Floppy disk drives (3 1/2", 5 1/4") 35# rd* "rd" pseudo-disks 36# sd* SCSI disks, including flopticals 37# vnd* "file" pseudo-disk devices 38# wd* "winchester" disk drives (ST506, IDE, ESDI, RLL, ...) 39# Tapes: 40# ch* SCSI media changers 41# st* SCSI tape drives 42# Terminal ports: 43# cua[a-z]* Zilog 8530 serial port 44# magma* Magma multiport cards 45# spif* "spif" multiport cards 46# tty[0-7][0-9a-f] NS16x50 serial ports 47# tty[a-z]* Zilog 8530 serial port 48# ttyh* Sab82532 serial devices 49# ttyV* Virtual console concentrator 50# Pseudo terminals: 51# ptm pty master device 52# pty* Set of 62 master pseudo terminals 53# tty* Set of 62 slave pseudo terminals 54# Console ports: 55# console PROM console 56# ttyC-J* wscons display devices 57# wscons Minimal wscons devices 58# wskbd* wscons keyboards 59# wsmux wscons keyboard/mouse mux devices 60# Pointing devices: 61# wsmouse* wscons mice 62# Printers: 63# bpp* Parallel port 64# bpp[jkl] "spif" parallel port 65# bppmag[mno] Magma parallel port 66# lpa* Polled printer port 67# lpt* IEEE 1284 centronics printer 68# USB devices: 69# ttyU* USB serial ports 70# uall All USB devices 71# ugen* Generic USB devices 72# uhid* Generic HID devices 73# fido fido/* nodes 74# ujoy ujoy/* nodes 75# ulpt* Printer devices 76# usb* Bus control devices used by usbd for attach/detach 77# Special purpose devices: 78# audio* Audio devices 79# bio ioctl tunnel pseudo-device 80# bpf Berkeley Packet Filter 81# diskmap Disk mapper 82# dri Direct Rendering Infrastructure 83# fd fd/* nodes 84# dt Dynamic Tracer 85# fuse Userland Filesystem 86# hotplug devices hot plugging 87# openprom PROM settings 88# pci* PCI bus devices 89# pf Packet Filter 90# pppx* PPP Multiplexer 91# pppac* PPP Access Concentrator 92# rmidi* Raw MIDI devices 93# *random In-kernel random data source 94# tun* Network tunnel driver 95# tap* Ethernet tunnel driver 96# uk* Unknown SCSI devices 97# uperf Performance counters 98# video* Video V4L2 devices 99# vscsi* Virtual SCSI controller 100# hvctl Hypervisor control channel 101# spds Service processor domain services channel 102# ldom* Logical domain services channels 103# vdsp* Virtual disk server ports 104# kstat Kernel Statistics 105PATH=/sbin:/usr/sbin:/bin:/usr/bin 106T=$0 107 108# set this to echo for Echo-Only debugging 109[ "$eo" ] || eo= 110 111hex() 112{ 113 case $1 in 114 [0-9]) echo -n $1;; 115 10) echo -n a;; 116 11) echo -n b;; 117 12) echo -n c;; 118 13) echo -n d;; 119 14) echo -n e;; 120 15) echo -n f;; 121 esac 122} 123 124alph2d() 125{ 126 local t="$1" 127 local p="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" 128 local sub=${p%${t}*} 129 echo ${#sub} 130} 131 132h2d() 133{ 134 local s="$1" 135 local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*} 136 137 echo $(($(_h2d $f)*16+ $(_h2d $n) )) 138} 139 140_h2d() 141{ 142 case $1 in 143 [0-9]) echo -n $1;; 144 a) echo -n 10;; 145 b) echo -n 11;; 146 c) echo -n 12;; 147 d) echo -n 13;; 148 e) echo -n 14;; 149 f) echo -n 15;; 150 esac 151} 152 153unt() 154{ 155 # XXX pdksh can't seem to deal with locally scoped variables 156 # in ${foo#$bar} expansions 157 arg="$1" 158 tmp="${arg#[a-zA-Z]*}" 159 tmp="${tmp%*[a-zA-Z]}" 160 while [ "$tmp" != "$arg" ] 161 do 162 arg=$tmp 163 tmp="${arg#[a-zA-Z]*}" 164 tmp="${tmp%*[a-zA-Z]}" 165 done 166 echo $arg 167} 168 169dodisk() 170{ 171 [ "$DEBUG" ] && set -x 172 n=$(($((${5}*${7:-16}))+${6})) count=0 173 [ 0$7 -ne 8 ] && l="i j k l m n o p" 174 for d in a b c d e f g h $l 175 do 176 M $1$2$d b $3 $(($n+$count)) 640 operator 177 M r$1$2$d c $4 $(($n+$count)) 640 operator 178 let count=count+1 179 done 180} 181 182dodisk2() 183{ 184 n=$(($(($5*${7:-16}))+$6)) 185 M $1$2a b $3 $n 640 operator 186 M r$1$2a c $4 $n 640 operator 187 n=$(($n+2)) 188 M $1$2c b $3 $n 640 operator 189 M r$1$2c c $4 $n 640 operator 190} 191 192# M name b/c major minor [mode] [group] 193RMlist[0]="rm -f" 194 195mkl() { 196 : ${mklist[0]:=";mknod"} 197 mklist[${#mklist[*]}]=" -m $1 $2 $3 $4 $5" 198} 199 200M() { 201 RMlist[${#RMlist[*]}]=$1 202 mkl ${5-666} $1 $2 $3 $4 203 G=${6:-wheel} 204 [ "$7" ] && { 205 MKlist[${#MKlist[*]}]="&& chown $7:$G $1" 206 } || { 207 case $G in 208 wheel) 209 [ ${#whlist[*]} = 0 ] && whlist[0]="&& chgrp wheel" 210 whlist[${#whlist[*]}]="$1" 211 ;; 212 operator) 213 [ ${#oplist[*]} = 0 ] && oplist[0]="&& chgrp operator" 214 oplist[${#oplist[*]}]="$1" 215 ;; 216 *) 217 MKlist[${#MKlist[*]}]="&& chgrp $G $1"; 218 esac 219 } 220 return 0 221} 222 223R() { 224[ "$DEBUG" ] && set -x 225for i in "$@" 226do 227U=`unt $i` 228[ "$U" ] || U=0 229 230case $i in 231ramdisk) 232 R std fd0 wd0 wd1 wd2 sd0 sd1 sd2 rd0 233 R st0 cd0 bpf bio diskmap random 234 ;; 235 236std) 237 M console c 0 0 600 238 M tty c 2 0 239 M mem c 3 0 640 kmem 240 M kmem c 3 1 640 kmem 241 M null c 3 2 242 M zero c 3 12 243 M stdin c 24 0 244 M stdout c 24 1 245 M stderr c 24 2 246 M ksyms c 76 0 640 kmem 247 M klog c 16 0 600 248 M openprom c 70 0 600 249 M mdesc c 70 1 640 kmem 250 M pri c 70 2 640 kmem 251 M vcons0 c 125 0 600 252 ;; 253 254kstat) 255 M kstat c 51 0 640 256 ;; 257 258vdsp*) 259 M vdsp$U c 133 $U 600 260 ;; 261 262ldom*) 263 M ldom$U c 132 $(($U+32)) 600 264 ;; 265 266spds) 267 M spds c 132 1 600 268 ;; 269 270hvctl) 271 M hvctl c 132 0 600 272 ;; 273 274vscsi*) 275 M vscsi$U c 128 $U 600 276 ;; 277 278video*) 279 M video$U c 44 $U 600 280 MKlist[${#MKlist[*]}]=";[ -e video ] || ln -s video$U video" 281 ;; 282 283uperf) 284 M uperf c 25 0 664 285 ;; 286 287uk*) 288 M uk$U c 60 $U 640 operator 289 ;; 290 291tap*) 292 M tap$U c 135 $U 600 293 ;; 294 295tun*) 296 M tun$U c 111 $U 600 297 ;; 298 299*random) 300 M urandom c 119 0 644 301 RMlist[${#RMlist[*]}]=random 302 MKlist[${#MKlist[*]}]=";ln -s urandom random" 303 ;; 304 305rmidi*) 306 M rmidi$U c 68 $U 660 _sndiop 307 ;; 308 309pppac*) 310 M pppac$U c 138 $U 600 311 ;; 312 313pppx*) 314 M pppx$U c 131 $U 600 315 ;; 316 317pf) 318 M pf c 73 0 600 319 ;; 320 321pci*) 322 M pci$U c 52 $U 600 323 MKlist[${#MKlist[*]}]=";[ -h pci ] || ln -sf pci0 pci" 324 ;; 325 326openprom) 327 M openprom c 70 0 328 ;; 329 330hotplug) 331 M hotplug c 124 $U 400 332 ;; 333 334fuse) 335 M fuse$U c 134 $U 600 336 ;; 337 338dt) 339 M dt c 30 0 600 340 ;; 341 342fd) 343 RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 344 while [ $n -lt 64 ];do M fd/$n c 24 $n;n=$(($n+1));done 345 MKlist[${#MKlist[*]}]=";chmod 555 fd" 346 ;; 347 348dri) 349 RMlist[${#RMlist[*]}]=";mkdir -p dri;rm -f" 350 n=0 351 while [ $n -lt 4 ] 352 do 353 M dri/card$n c 87 $n 600 354 r=$(($n+128)) 355 M dri/renderD$r c 87 $r 600 356 n=$(($n+1)) 357 done 358 MKlist[${#MKlist[*]}]=";chmod 555 dri" 359 ;; 360 361diskmap) 362 M diskmap c 130 0 640 operator 363 ;; 364 365bpf) 366 M bpf c 105 0 600 367 M bpf0 c 105 0 600 368 ;; 369 370bio) 371 M bio c 120 0 600 372 ;; 373 374audio*) 375 M audio$U c 69 $U 660 _sndiop 376 M audioctl$U c 69 $(($U+192)) 660 _sndiop 377 ;; 378 379usb*) 380 [ "$i" = "usb" ] && u= || u=$U 381 M usb$u c 90 $U 640 382 ;; 383 384ulpt*) 385 M ulpt$U c 93 $U 600 386 ;; 387 388ujoy) 389 RMlist[${#RMlist[*]}]=";mkdir -p ujoy;rm -f" n=0 390 while [ $n -lt 4 ];do M ujoy/$n c 139 $n 444;n=$(($n+1));done 391 MKlist[${#MKlist[*]}]=";chmod 555 ujoy" 392 ;; 393 394fido) 395 RMlist[${#RMlist[*]}]=";mkdir -p fido;rm -f" n=0 396 while [ $n -lt 4 ];do M fido/$n c 137 $n 666;n=$(($n+1));done 397 MKlist[${#MKlist[*]}]=";chmod 555 fido" 398 ;; 399 400uhid*) 401 M uhid$U c 91 $U 600 402 ;; 403 404ugen*) 405 n=$(($U*16)) 406 for j in 0{0,1,2,3,4,5,6,7,8,9} 1{0,1,2,3,4,5} 407 do 408 M ugen$U.$j c 92 $(($n+10#$j)) 600 409 done 410 ;; 411 412uall) 413 R ttyU0 ttyU1 ttyU2 ttyU3 ugen0 ugen1 ugen2 ugen3 ugen4 ugen5 414 R ugen6 ugen7 ulpt0 ulpt1 ujoy fido uhid0 uhid1 uhid2 uhid3 415 R uhid4 uhid5 uhid6 uhid7 usb0 usb1 usb2 usb3 usb4 usb5 usb6 416 R usb7 417 ;; 418 419ttyU[0-9a-zA-Z]) 420 U=${i#ttyU*} 421 o=$(alph2d $U) 422 M ttyU$U c 95 $o 660 dialer root 423 M cuaU$U c 95 $(($o+128)) 660 dialer root 424 ;; 425 426lpt*|lpa*) 427 case $i in 428 lpt*) n=lpt f=0;; 429 lpa*) n=lpa f=128;; 430 esac 431 M $n$U c 37 $(($U+$f)) 600 432 ;; 433 434bpp*) 435 M bpp$U c 107 $U 600 436 ;; 437 438wsmouse[0-9]*) 439 M wsmouse$U c 80 $U 600 440 ;; 441 442wsmux|wsmouse|wskbd) 443 M wsmouse c 81 0 600 444 M wskbd c 81 1 600 445 ;; 446 447wskbd[0-9]*) 448 M wskbd$U c 79 $U 600 449 ;; 450 451wscons) 452 R wsmouse0 wsmouse1 wsmouse2 wsmouse3 wsmouse4 wsmouse5 453 R wsmouse6 wsmouse7 wsmouse8 wsmouse9 wskbd0 wskbd1 wskbd2 454 R wskbd3 wskbd4 wskbd5 wskbd6 wskbd7 wskbd8 wskbd9 wsmux 455 R ttyJcfg ttyJ0 ttyJ1 ttyJ2 ttyJ3 ttyJ4 ttyJ5 ttyJ6 ttyJ7 456 R ttyJ8 ttyJ9 ttyJa ttyJb ttyIcfg ttyI0 ttyI1 ttyI2 ttyI3 457 R ttyI4 ttyI5 ttyI6 ttyI7 ttyI8 ttyI9 ttyIa ttyIb ttyHcfg 458 R ttyH0 ttyH1 ttyH2 ttyH3 ttyH4 ttyH5 ttyH6 ttyH7 ttyH8 ttyH9 459 R ttyHa ttyHb ttyGcfg ttyG0 ttyG1 ttyG2 ttyG3 ttyG4 ttyG5 460 R ttyG6 ttyG7 ttyG8 ttyG9 ttyGa ttyGb ttyFcfg ttyF0 ttyF1 461 R ttyF2 ttyF3 ttyF4 ttyF5 ttyF6 ttyF7 ttyF8 ttyF9 ttyFa ttyFb 462 R ttyEcfg ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7 463 R ttyE8 ttyE9 ttyEa ttyEb ttyDcfg ttyD0 ttyD1 ttyD2 ttyD3 464 R ttyD4 ttyD5 ttyD6 ttyD7 ttyD8 ttyD9 ttyDa ttyDb ttyCcfg 465 R ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7 ttyC8 ttyC9 466 R ttyCa ttyCb 467 ;; 468 469tty[C-J]*) 470 U=${i##tty[C-J]} 471 case $i in 472 ttyC*) n=C m=0;; 473 ttyD*) n=D m=256;; 474 ttyE*) n=E m=512;; 475 ttyF*) n=F m=768;; 476 ttyG*) n=G m=1024;; 477 ttyH*) n=H m=1280;; 478 ttyI*) n=I m=1536;; 479 ttyJ*) n=J m=1792;; 480 esac 481 case $U in 482 [0-9a-f]) M tty$n$U c 78 $((16#$U+$m)) 600;; 483 cfg) M tty${n}cfg c 78 $((255+$m)) 600;; 484 *) echo bad unit $U for $i; exit 1;; 485 esac 486 ;; 487 488pty*) 489 if [ $U -gt 15 ]; then 490 echo bad unit for pty in: $i 491 continue 492 fi 493 set -A letters p q r s t u v w x y z P Q R S T 494 set -A suffixes 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q \ 495 r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ 496 Y Z 497 498 name=${letters[$U]} 499 n=0 500 while [ $n -lt 62 ] 501 do 502 nam=$name${suffixes[$n]} 503 off=$(($U*62)) 504 M tty$nam c 20 $(($off+$n)) 505 M pty$nam c 21 $(($off+$n)) 506 n=$(($n+1)) 507 done 508 ;; 509 510ptm) 511 M ptm c 123 0 666 512 ;; 513 514ttyV[0-9a-zA-Z]) 515 U=${i#ttyV*} 516 o=$(alph2d $U) 517 M ttyV$U c 127 $o 600 518 ;; 519 520ttyh*) 521 M ttyh$U c 77 $U 660 dialer root 522 ;; 523 524tty[a-z]) 525 u=${i#tty*} 526 case $u in 527 a) n=0 ;; 528 b) n=1 ;; 529 c) n=2 ;; 530 d) n=3 ;; 531 *) echo unknown tty device $i ;; 532 esac 533 M tty$u c 12 $n 660 dialer root 534 ;; 535 536tty[0-7][0-9a-f]) 537 U=${i#tty*} 538 o=$(h2d $U) 539 M tty$U c 36 $o 660 dialer root 540 M cua$U c 36 $(($o+128)) 660 dialer root 541 ;; 542 543spif*) 544 case $U in 545 0) offset=0 nam=j;; 546 1) offset=16 nam=k;; 547 2) offset=32 nam=l;; 548 *) echo "bad unit for $i: $U"; exit 127;; 549 esac 550 offset=$(($U*64)) 551 n=0 552 while [ $n -lt 8 ] 553 do 554 name=${nam}`hex $n` 555 M tty$name c 108 $(($offset+$n)) 660 dialer root 556 n=$(($n+1)) 557 done 558 M bpp${nam}0 c 109 $(($offset+0)) 600 559 ;; 560 561magma*) 562 case $U in 563 0) offset=0 nam=m;; 564 1) offset=16 nam=n;; 565 2) offset=32 nam=o;; 566 *) echo "bad unit for $i: $U"; exit 127;; 567 esac 568 offset=$(($U*64)) 569 n=0 570 while [ $n -lt 16 ] 571 do 572 name=${nam}`hex $n` 573 M tty$name c 71 $(($offset+$n)) 660 dialer root 574 n=$(($n+1)) 575 done 576 M bpp${nam}0 c 72 $(($offset+0)) 600 577 M bpp${nam}1 c 72 $(($offset+1)) 600 578 ;; 579 580cua[a-z]) 581 u=${i#cua*} 582 case $u in 583 a) n=0 ;; 584 b) n=1 ;; 585 c) n=2 ;; 586 d) n=3 ;; 587 *) echo unknown cua device $i ;; 588 esac 589 M cua$u c 12 $(($n+128)) 660 dialer root 590 ;; 591 592st*) 593 n=$(($U*16)) 594 for pre in " " n e en 595 do 596 M ${pre}rst$U c 18 $n 660 operator 597 n=$(($n+1)) 598 done 599 ;; 600 601ch*) 602 M ch$U c 19 $U 660 operator 603 ;; 604 605vnd*) 606 dodisk vnd $U 8 110 $U 0 607 ;; 608 609rd*) 610 dodisk2 rd $U 5 61 $U 0 611 ;; 612 613fd*) 614 typnam=$U${i#fd[01]*} 615 case $typnam in 616 0|1) typnum=0;; # no type specified, assume A 617 *A) typnum=0; typnam=0;; 618 *B) typnum=1;; 619 *C) typnum=2;; 620 *D) typnum=3;; 621 *E) typnum=4;; 622 *F) typnum=5;; 623 *G) typnum=6;; 624 *H) typnum=7;; 625 *) echo bad type $typnam for $i; exit 1;; 626 esac 627 case $U in 628 0|1) blk=16; chr=54;; 629 *) echo bad unit $U for $i; exit 1;; 630 esac 631 nam=fd${typnam} 632 n=$(($(($U*128))+$(($typnum*16)))) 633 M ${nam}a b $blk $n 640 operator 634 M ${nam}b b $blk $(($n+1)) 640 operator 635 M ${nam}c b $blk $(($n+2)) 640 operator 636 M ${nam}i b $blk $(($n+8)) 640 operator 637 M r${nam}a c $chr $n 640 operator 638 M r${nam}b c $chr $(($n+1)) 640 operator 639 M r${nam}c c $chr $(($n+2)) 640 operator 640 M r${nam}i c $chr $(($n+8)) 640 operator 641 ;; 642 643cd*) 644 dodisk2 cd $U 18 58 $U 0 645 ;; 646 647local) 648 test -s $T.local && sh $T.local 649 ;; 650 651all) 652 R vdsp0 vdsp1 vdsp2 vdsp3 vdsp4 vdsp5 vdsp6 vdsp7 vdsp8 vdsp9 653 R vdsp10 vdsp11 vdsp12 vdsp13 vdsp14 vdsp15 vdsp16 vdsp17 654 R vdsp18 vdsp19 vdsp20 vdsp21 vdsp22 vdsp23 ldom0 ldom1 ldom2 655 R ldom3 ldom4 ldom5 ldom6 ldom7 ldom8 ldom9 ldom10 ldom11 656 R ldom12 ldom13 ldom14 ldom15 spds hvctl ttyV0 ttyV1 ttyV2 657 R ttyV3 ttyV4 ttyV5 ttyV6 ttyV7 ttyV8 ttyV9 ttyVa ttyVb ttyVc 658 R ttyVd ttyVe ttyVf cuaa cuab cuac cuad ttya ttyb ttyc ttyd 659 R dri bpp0 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 660 R sd8 sd9 cd0 cd1 rd0 tap0 tap1 tap2 tap3 tun0 tun1 tun2 tun3 661 R bio pty0 fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B 662 R fd0C fd0D fd0E fd0F fd0G fd0H diskmap vscsi0 ch0 audio0 663 R audio1 audio2 audio3 kstat dt bpf fuse pppac pppx hotplug 664 R ptm local wscons pci0 pci1 pci2 pci3 uall rmidi0 rmidi1 665 R rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 video0 video1 uk0 666 R random lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 tty00 tty01 tty02 tty03 667 R tty04 tty05 tty06 tty07 tty08 tty09 tty0a tty0b ttyh0 ttyh1 668 R pf wd0 wd1 wd2 wd3 std st0 st1 fd 669 ;; 670 671wd*|sd*) 672 case $i in 673 wd*) dodisk wd $U 12 26 $U 0;; 674 sd*) dodisk sd $U 7 17 $U 0;; 675 esac 676 ;; 677 678*) 679 echo $i: unknown device 680 ;; 681esac 682done 683} 684R "$@" 685{ 686echo -n ${RMlist[*]} 687echo -n ${mklist[*]} 688echo -n ${MKlist[*]} 689echo -n ${whlist[*]} 690echo ${oplist[*]} 691} | if [ "$eo" = "echo" ]; then 692 cat 693else 694 sh 695fi 696