1
0
mirror of https://github.com/onceupon/Bash-Oneliner.git synced 2025-01-12 17:36:36 +00:00

add others

sort a file by column and keep the original order
This commit is contained in:
onceupon 2018-05-31 16:31:27 +08:00 committed by GitHub
parent 3842241d25
commit ca650f4463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2566,5 +2566,9 @@ echo "00110010101110001101" | fold -w4
#1000
#1101
```
##### sort a file by column and keep the original order
```bash
sort -k3,3 -s
```
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-