coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does sort handle -t / correctly


From: Peng Yu
Subject: Does sort handle -t / correctly
Date: Fri, 17 Apr 2015 11:10:02 -0500

Hi, I got the following results when I call sort with -t /. It seems
that 'a/1.txt' should be right after 'a'. Is it the case? Or I am not
using sort correctly?

$ printf '%s\n' a 'a!' ab aB a/1.txt | sort -t / -k 1 -k 2 -k 3 -k 4
a
a!
a/1.txt
aB
ab

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]