123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- #!/bin/sh
- # Derived from a 9legacy script of the same function.
- # find . -type d -empty | awk '{print "\t"$1" \\"}'
- lst=( \
- ./386/bin \
- ./386/bin/ape \
- ./386/bin/auth \
- ./386/bin/aux \
- ./386/bin/bitsy \
- ./386/bin/dial \
- ./386/bin/disk \
- ./386/bin/fossil \
- ./386/bin/fs \
- ./386/bin/games \
- ./386/bin/ip/httpd \
- ./386/bin/ndb \
- ./386/bin/replica \
- ./386/bin/upas \
- ./386/bin/usb \
- ./386/bin/venti \
- ./386/lib \
- ./386/lib/ape \
- ./acme/bin/386 \
- ./acme/bin/alpha \
- ./acme/bin/amd64 \
- ./acme/bin/arm \
- ./acme/bin/mips \
- ./acme/bin/power \
- ./acme/bin/power64 \
- ./amd64/bin \
- ./amd64/bin/ape \
- ./amd64/bin/auth \
- ./amd64/bin/aux \
- ./amd64/bin/bitsy \
- ./amd64/bin/dial \
- ./amd64/bin/disk \
- ./amd64/bin/fossil \
- ./amd64/bin/fs \
- ./amd64/bin/games \
- ./amd64/bin/ip/httpd \
- ./amd64/bin/ndb \
- ./amd64/bin/replica \
- ./amd64/bin/upas \
- ./amd64/bin/usb \
- ./amd64/bin/venti \
- ./amd64/lib \
- ./amd64/lib/ape \
- ./arm/bin/auth \
- ./arm/bin/aux \
- ./arm/bin/bitsy \
- ./arm/bin/dial \
- ./arm/bin/disk \
- ./arm/bin/fossil \
- ./arm/bin/fs \
- ./arm/bin/games \
- ./arm/bin/ip/httpd \
- ./arm/bin/ndb \
- ./arm/bin/replica \
- ./arm/bin/upas \
- ./arm/bin/usb \
- ./arm/bin/venti \
- ./arm/lib/ape \
- ./dist/replica/client \
- ./env \
- ./fd \
- ./lib/audio \
- ./lib/face/48x48x1/o \
- ./lib/face/48x48x1/v \
- ./lib/face/48x48x1/x \
- ./lib/face/48x48x1/y \
- ./lib/face/48x48x1/z \
- ./lib/face/48x48x2/f \
- ./lib/face/48x48x2/i \
- ./lib/face/48x48x2/l \
- ./lib/face/48x48x2/m \
- ./lib/face/48x48x2/n \
- ./lib/face/48x48x2/o \
- ./lib/face/48x48x2/q \
- ./lib/face/48x48x2/u \
- ./lib/face/48x48x2/v \
- ./lib/face/48x48x2/w \
- ./lib/face/48x48x2/x \
- ./lib/face/48x48x2/y \
- ./lib/face/48x48x2/z \
- ./lib/face/48x48x4/i \
- ./lib/face/48x48x4/o \
- ./lib/face/48x48x4/q \
- ./lib/face/48x48x4/y \
- ./lib/face/48x48x4/z \
- ./lib/face/48x48x4/Z \
- ./lib/face/48x48x8/i \
- ./lib/face/48x48x8/o \
- ./lib/face/48x48x8/w \
- ./lib/face/48x48x8/x \
- ./lib/face/48x48x8/Z \
- ./lib/ndb/dhcp \
- ./lib/news \
- ./lib/tftpd \
- ./lp/log \
- ./lp/prob \
- ./lp/queue \
- ./lp/tmp \
- ./mail/faxoutqueue \
- ./mail/fs \
- ./mail/grey/tmp \
- ./mail/queue \
- ./mail/tmp \
- ./misp/bin/ape \
- ./mips/bin/auth \
- ./mips/bin/aux \
- ./mips/bin/bitsy \
- ./mips/bin/dial \
- ./mips/bin/disk \
- ./mips/bin/fossil \
- ./mips/bin/fs \
- ./mips/bin/games \
- ./mips/bin/ip/httpd \
- ./mips/bin/ndb \
- ./mips/bin/replica \
- ./mips/bin/upas \
- ./mips/bin/usb \
- ./mips/bin/venti \
- ./mips/lib/ape \
- ./mnt/acme \
- ./mnt/apeselect \
- ./mnt/apm \
- ./mnt/arch \
- ./mnt/cd \
- ./mnt/cons/cons \
- ./mnt/cons/consctl \
- ./mnt/consoles \
- ./mnt/doc \
- ./mnt/exportfs/0 \
- ./mnt/exportfs/1 \
- ./mnt/exportfs/10 \
- ./mnt/exportfs/11 \
- ./mnt/exportfs/12 \
- ./mnt/exportfs/13 \
- ./mnt/exportfs/14 \
- ./mnt/exportfs/15 \
- ./mnt/exportfs/16 \
- ./mnt/exportfs/2 \
- ./mnt/exportfs/3 \
- ./mnt/exportfs/4 \
- ./mnt/exportfs/5 \
- ./mnt/exportfs/6 \
- ./mnt/exportfs/7 \
- ./mnt/exportfs/8 \
- ./mnt/exportfs/9 \
- ./mnt/keys \
- ./mnt/lp \
- ./mnt/netkeys \
- ./mnt/news \
- ./mnt/plumb \
- ./mnt/rdb \
- ./mnt/temp \
- ./mnt/term \
- ./mnt/ums \
- ./mnt/vmware \
- ./mnt/web \
- ./mnt/webcookies \
- ./mnt/wiki \
- ./mnt/wrap \
- ./mnt/wsys \
- ./n/9 \
- ./n/9fat \
- ./n/a \
- ./n/a: \
- ./n/b \
- ./n/boot \
- ./n/c \
- ./n/c: \
- ./n/d: \
- ./n/dist \
- ./n/fossil \
- ./n/ftp \
- ./n/kfs \
- ./n/kremvax \
- ./n/paq \
- ./n/sid \
- ./n/snap \
- ./n/sources \
- ./n/sourcesdump \
- ./n/sourcessnap \
- ./n/tapefs \
- ./n/temp \
- ./n/vac \
- ./power64/bin/ape \
- ./power64/bin/auth \
- ./power64/bin/aux \
- ./power64/bin/bitsy \
- ./power64/bin/dial \
- ./power64/bin/disk \
- ./power64/bin/fossil \
- ./power64/bin/fs \
- ./power64/bin/games \
- ./power64/bin/ip/httpd \
- ./power64/bin/ndb \
- ./power64/bin/replica \
- ./power64/bin/upas \
- ./power64/bin/usb \
- ./power64/bin/venti \
- ./power64/lib/ape \
- ./power/bin/ape \
- ./power/bin/auth \
- ./power/bin/aux \
- ./power/bin/bitsy \
- ./power/bin/dial \
- ./power/bin/disk \
- ./power/bin/fossil \
- ./power/bin/fs \
- ./power/bin/games \
- ./power/bin/ip/httpd \
- ./power/bin/ndb \
- ./power/bin/replica \
- ./power/bin/upas \
- ./power/bin/usb \
- ./power/bin/venti \
- ./power/lib/ape \
- ./rc/bin/dial \
- ./rc/bin/postscript \
- ./sparc/bin/ape \
- ./sparc/bin/auth \
- ./sparc/bin/aux \
- ./sparc/bin/bitsy \
- ./sparc/bin/dial \
- ./sparc/bin/disk \
- ./sparc/bin/fossil \
- ./sparc/bin/games \
- ./sparc/bin/ip/httpd \
- ./sparc/bin/ndb \
- ./sparc/bin/replica \
- ./sparc/bin/upas \
- ./sparc/bin/venti \
- ./sparc/lib/ape \
- ./sys/games/sudoku \
- ./sys/lib/backup/set1 \
- ./sys/lib/dist/bin/386 \
- ./sys/lib/dist/pc/empty \
- ./sys/lib/dist/pc/glenda/bin/386 \
- ./sys/lib/dist/pc/glenda/tmp \
- ./sys/lib/dist/pc/multi \
- ./sys/lib/git \
- ./sys/lib/lp/log \
- ./sys/lib/lp/perm \
- ./sys/lib/lp/tmp \
- ./sys/lib/postscript/afm \
- ./sys/lib/ssh \
- ./sys/lib/troff/contour \
- ./sys/log/timesync.d \
- ./sys/src/cmd/gs/obj \
- ./sys/src/cmd/ip/rtcp \
- ./sys/src/cmd/unix/drawterm/bin \
- ./tmp \
- ./usr/glenda/bin/386 \
- ./usr/glenda/bin/amd64 \
- ./usr/glenda/bin/mips \
- ./usr/glenda/tmp \
- ./bbin \
- ./amd64/bbin \
- ./386/bbin \
- ./arm64/bbin \
- ./arm/bbin \
- ./mips64/bbin \
- ./mips/bbin \
- )
- for i in "${lst[@]}"; do
- mkdir -p $i
- done
|