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

📄 dgibson.sh

📁 1984-1993模糊 C 源代码竞赛.zip 非常的好,不过这是DOS格式,要用UE去打开.
💻 SH
字号:
#!/bin/sh## dgibson.sh - run the dgibson entry## usage:#	dgibson.sh [data_file]# parse args#if [ $# -eq 0 ]; then    DATA="./dgibson.data1"else    DATA="$1"fiif [ ! -f "$DATA" ]; then    echo "$0: no data found in $DATA" 1>&2    exit 1fi# for the initial data.name if needed#if [ ! -f "data.name" ]; then    rm -f data.name    echo "$DATA" > data.namefiif [ ! -f life.d ]; then    # force a new life setup    echo "/" > data.namefirm -f data.name2echo "$DATA" > data.name2# note if we are running a new form#if cmp -s data.name data.name2; then    :else    rm -f life.d    cp "$DATA" life.d    rm -f data.name    echo "$DATA" > data.name    cat life.dfi# build a new copy of the program#rm -f dgibsonmake dgibson# form the next generation#chmod +w life.ddgibson | tee life.d

⌨️ 快捷键说明

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