xen*_*ide 14 command-line text-processing sort
我想接受这个命令find -maxdepth 1 -type d | while read -r dir; do printf "%s:\t" "$dir"; find "$dir" | wc -l; done(从这里)。其输出基本上为
./kennel: 11062
./shadow: 15449
./ccc: 9765
./journeyo: 14200
./norths: 10710
Run Code Online (Sandbox Code Playgroud)
并按数字从大到小排序。但我不确定如何制作sort,或在不同的列上进行任何操作。