相关疑难解决方法(0)

如何将文件中的行从最短到最长排序?

从最长到最短的排序行类似,如何将文件中的所有行从最短到最长排序?例如"

This is a long sentence.
This is not so long.
This is not long.

那就变成:

This is not long.
This is not so long.
This is a long sentence.

sorting bash awk

2
推荐指数
2
解决办法
2154
查看次数

标签 统计

awk ×1

bash ×1

sorting ×1