|
From: | Jan Kratochvil |
Subject: | [Duplicity-tracker] [bug #19989] Sortable Volume numbers in Filenames |
Date: | Mon, 24 Dec 2007 16:57:17 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.10) Gecko/20071213 Galeon/2.0.3 Firefox/2.0.0.10 |
Follow-up Comment #1, bug #19989 (project duplicity): Just a workaround - as this sorting is a common problem (not just for `duplicity') sometimes I use my `sortn' - which sorts the lines in the way RPM compares the names/versions. http://cvs.jankratochvil.net/viewcvs/nethome/bin/sortn?rev=HEAD $ ls -lf `ls|sortn` duplicity-full.2007-12-24T17:31:29+02:00.vol1.difftar.gpg duplicity-full.2007-12-24T17:31:29+02:00.vol2.difftar.gpg ... duplicity-full.2007-12-24T17:31:29+02:00.vol9.difftar.gpg duplicity-full.2007-12-24T17:31:29+02:00.vol10.difftar.gpg duplicity-full.2007-12-24T17:31:29+02:00.vol11.difftar.gpg ... _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?19989> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |