📄 config.csh
字号:
#! /bin/csh -f#! File: config.csh#! Usage: csh config.csh flag command . . .#! Last modified on Sat Oct 1 12:54:21 1994 by eroberts#! -----------------------------------------------------#! This shell script is used inside Makefiles to parameterize#! compilations for different Unix systems. The effect of the#! script is to execute the command and its arguments silently,#! throwing away any output to stdout or stderr. If the command#! succeeds, the config.csh program echoes the flag parameter; if not,#! it generates no output. The typical use of the program is#! within backquotes, as follows:#! #! gcc `csh config.csh -DCFLAG gcc -E -DCFLAG testfile.c` -c file.c#! #! If the internal command#! #! gcc -E -DCFLAG testfile.c#! #! succeeds, the outer compilation will define the CFLAG macro;#! if not, the macro will be undefined. Thus, if the option#! flag works correctly in the test case, it is used in the#! other compilations as well.#!eval $argv[2-] >& /dev/nullif ($status == 0) echo $1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -