fbtool

来自「Apache V2.0.15 Alpha For Linuxhttpd-2_0_」· 代码 · 共 43 行

TXT
43
字号
#!/bin/sh####  fbtool -- MM library feedback tool##  Copyright (c) 1999-2000 Ralf S. Engelschall, All Rights Reserved. ##if [ ! -f .fbtool ]; then    echo "fbtool:Error: still no results known";    exit 1firesult=`cat .fbtool`VERSION=`./shtool version -l c -d long mm_vers.c`PLATFORM=`/bin/sh ./config.guess`PLATFORM=`/bin/sh ./config.sub $PLATFORM`VMPS=`grep MM_VMPS_ mm_conf.h | grep define | sed -e 's;.*MM_;MM_;' -e 's; .*;;'`; \SHMT=`grep MM_SHMT_ mm_conf.h | grep define | sed -e 's;.*MM_;MM_;' -e 's; .*;;'`; \SEMT=`grep MM_SEMT_ mm_conf.h | grep define | sed -e 's;.*MM_;MM_;' -e 's; .*;;'`; \SEGS=`grep MM_SHM_MAXSEGSIZE mm_conf.h | grep define | sed -e 's;.*SIZE *;;' -e 's; .*;;'`; \TMP=".fbsummary"rm -f $TMP >/dev/null 2>&1touch $TMPecho "+-MM-Library-Test-Suite-Summary---------------------------" >>$TMPecho "| Library Version       : MM $VERSION" >>$TMPecho "| Platform              : $PLATFORM" >>$TMPecho "| Memory Page Size Type : $VMPS" >>$TMPecho "| Shared Memory Type    : $SHMT" >>$TMPecho "| Semaphore Type        : $SEMT" >>$TMPecho "| Maximum Segment Size  : $SEGS" >>$TMPecho "| Test Suite            : $result" >>$TMPecho "+---------------------------------------------------------" >>$TMPcase $1 in    -d ) cat $TMP ;;    -s ) ;;esacrm -f $TMP >/dev/null 2>&1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?