原创 BASH貪吃蛇

寫得爛,別噴#!/usr/bin/env bash#set -x#set -ecmd=$1        #捕獲第一個參數pid=$$        #當前腳本的進程pidmsg=msg       #消息管道文件space=0