摘要: 1、保持顺序并消除重复行 #!/bin/bash unset lines# while read line ; do while read line || [ -n "$line" ]; do # echo 'lines length: '${#lines[@]} # echo 'read:'$li 阅读全文
posted @ 2017-01-16 10:03 大山山 阅读(173) 评论(0) 推荐(0) 编辑