摘要: 这几个都是在bash脚本中经常用到的: 第一种: cmd <<EOF .. EOF 含义是here-document,表示传给给cmd的stdin的内容从这里开始是一个文档,内容碰到EOF为截止 $ cat <<EOF This is a document EOF 把EOF之间的内容,作为一个文档传 阅读全文
posted @ 2022-03-07 22:43 爱啦啦 阅读(1147) 评论(0) 推荐(1) 编辑
摘要: https://www.cnblogs.com/gravity-126/p/13368410.html 阅读全文
posted @ 2022-03-07 22:28 爱啦啦 阅读(123) 评论(0) 推荐(0) 编辑
摘要: http://c.biancheng.net/view/1120.html 阅读全文
posted @ 2022-03-07 22:26 爱啦啦 阅读(24) 评论(0) 推荐(0) 编辑