How to sort lowercase to uppercase
For example
Dir3 dir1 dir2 dir3
In my case
Dir3 dir1 dir2 dir3
sort -f
dir1 dir2 Dir3 dir3
But I want
dir1 dir2 dir3 Dir3
How to sort lowercase to uppercase?
How to sort lowercase to uppercase
For example
Dir3 dir1 dir2 dir3
In my case
Dir3 dir1 dir2 dir3
sort -f
dir1 dir2 Dir3 dir3
But I want
dir1 dir2 dir3 Dir3
How to sort lowercase to uppercase?
Something like this should solve your problem:
$ echo -e "Dir3\ndir1\ndir2\ndir3" | sort
dir1
dir2
dir3
Dir3