⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lookpar.sh

📁 su 的源代码库
💻 SH
字号:
#! /bin/sh# /*********************** self documentation **********************/# LOOKPAR - show getpar lines in SU code with defines evaluated## Usage: lookpar filename ...## /**************** end self doc ********************************/# $Source: /usr/local/cwp/src/su/shell/RCS/lookpar.sh,v $# $Revision: 1.11 $ ; $Date: 1999/05/12 20:15:48 $# Note: "cc -E" could be used on many (all?) systems instead of /lib/cpp# test for CWPROOTif test "${CWPROOT}" = ""then	echo "The environment variable \"CWPROOT\" "	echo "is not set in the user's working shell environment."	echo "To set this variable in C-shell, use the command: "	echo "  setenv  CWPROOT  /your/cwp/root/path"	echo "To set this variable in Bourne or Korn-shell, use the command:"	echo "  export  CWPROOT=/your/cwp/root/path" ; exit 1fi################################################################################# test for CWPSRC, use value if set, define as $CWPROOT if not set# (CWPSRC allows one set of source code and documentation for multiple machines)################################################################################if test "${CWPSRC}" = ""thenCWPSRC=$CWPROOTfiROOT=${CWPROOT}BIN=$ROOT/binSU=$CWPSRC/src/suI=$ROOT/includePATH=${PATH}:${BIN}cmd=`basename $0`case $# in0)	echo "Usage: $cmd file(s)" 1>&2; exit 1;;esac/lib/cpp -I$I $* | grep getpar |grep -v initgetpar | grep -v "*name" | grep -v "*s"#grep -v extern | grep -v initgetpar | grep -v "*name" | grep -v "*s"exit 0

⌨️ 快捷键说明

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