💻 Software
GNU sort by case-sensitive
Fresh7 days ago
Mar 15, 202629143 viewsConfidence Score1%
1%
Problem
The utility in Ubuntu 10.04 (Lucid) always sort by case-insensitive, just like if you specify to it. But sometimes I want to sort by case-sensitive, so the upper-case letters come first, then lower-case letter. Is it possible?
Error Output
The two sort just give the same result: echo -e "c\nb\nB\na" | sort echo -e "c\nb\nB\na" | sort --ignore-case
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: GNU sort by case-sensitive
Low Risk
Override the collation order.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix