mkfile
来自「这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易」· 代码 · 共 80 行
TXT
80 行
</$objtype/mkfileHFILES=\ /sys/include/httpd.h\ httpsrv.h\TARG=\ httpd\ imagemap\ man2html\ save\ netlib_find\ netlib_history\ webls\ wikipost\XTARG=\ httpd\ imagemap\ netlib_find\ netlib_history\ man2html\ save\ wikipost\LIB=libhttps.a$OLIBS=libhttps.a$OLIBSOFILES=\ anonymous.$O\ content.$O\ emem.$O\ hints.$O\ init.$O\ log.$O\ redirect.$O\ sendfd.$O\ authorize.$O\BIN=/$objtype/bin/ip/httpdUPDATE=\ $HFILES\ ${LIBSOFILES:%.$O=%.c}\ ${XTARG:%=%.c}\</sys/src/cmd/mkmanytrial: $O.netlib_history # should first mount -b /srv/histnetlib /usr/web/historic echo ' ' | $O.netlib_history GET HTTP/1.0 xxx 'file=fp%2Fdtoa.c.gz'trial2: $O.netlib_find echo "\n" | $O.netlib_find GET HTTP/1.0 xxx 'db=1&pat=Hearing' > /tmp/search sed 17q /tmp/search$LIBS: $LIBSOFILES ar vu $LIBS $newprereq rm $newprereq # rm $newmember - cannot do this because of mk racere:N: v.re v.re redirect.urlsnone:VQ: echo usage: mk all, install, installall, '$O'.cmd, cmd.install, or cmd.installall echo usage: mk safeinstall, safeinstallall, cmd.safeinstallall, or cmd.safeinstallall$O.9down: 9down.$O whois.$O classify.$O $LIB $LD -o $target $prereq$O.test9down: 9down4e.$O whois.$O classify.$O $LIB $LD -o $target $prereq$O.testclassify: testclassify.$O whois.$O classify.$O $LIB $LD -o $target $prereq
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?