info.c.sh
来自「EPIC IRC客户端。来源于IRCII客户端但做了很多性能和功能的优化。」· Shell 代码 · 共 35 行
SH
35 行
## Information about who is compiling the binary....# This file is in the public domain, such as it is.#info_c_sum=`cksum ./info.c.sh`comp_host=`uname -n`comp_user=$LOGNAMEcomp_time=`date | \awk '{if (NF == 6) \ { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \else \ { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'`# Dump the C file...cat > info.c << __E__O__F__/* * info.c -- info about who compiled this version. * This file is auto-magically created. Changes will be nuked. */#include "config.h"#ifdef ANONYMOUS_COMPILE#define USER "<anonymous>"#else#define USER "$comp_user"#endifconst char *compile_user = "$comp_user";const char *compile_host = "$comp_host";const char *compile_time = "$comp_time";const char *info_c_sum = "$info_c_sum";const char *compile_info = "Compiled by " USER "@$comp_host on $comp_time";__E__O__F__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?