Tag: shell

1 篇文章

实用 shell
文本处理 清除每行头&尾部的空白符 awk '{$1=$1;print}' ref: https://stackoverflow.com/questions/448005/whats-an-easy-way-to-read-random-line-from-a-file 在一个文本随机选取若干行 // macos 则先 brew insta…