题解 | #转置文件的内容#
转置文件的内容
https://www.nowcoder.com/practice/2240cd809c8f4d80b3479d7c95bb1e2e
#!/bin/bash cat nowcoder.txt | awk '{ print $1 }' | tr -s '\n' ' ' echo "" cat nowcoder.txt | awk '{ print $2 }' | tr -s '\n' ' '
转置文件的内容
https://www.nowcoder.com/practice/2240cd809c8f4d80b3479d7c95bb1e2e
#!/bin/bash cat nowcoder.txt | awk '{ print $1 }' | tr -s '\n' ' ' echo "" cat nowcoder.txt | awk '{ print $2 }' | tr -s '\n' ' '
相关推荐