摘要: 第十行 shell 编程题目 1. 地址 https://leetcode-cn.com/problems/tenth-line/comments/ 2. 解法 最简洁的做法: awk 'NR==10' file.txt # NR 代表是行数 或者: sed -n 10p file.txt 阅读全文
posted @ 2020-06-20 20:50 吴丹阳-V 阅读(134) 评论(0) 推荐(0) 编辑