Re: sort (-g) [offtopic]

2018-02-27 Thread Ionel Mugurel Ciobîcă
On 27-02-2018, at 07h 31'11", David Wright wrote about "Re: sort (-g) [offtopic]" > Yes, you need to read §3.4.2.8 over again: > [...] > IOW you should write a file containing > > I i > II ii > etc. > > and feed it to -s. I can do that. >

Re: sort (-g) [offtopic]

2018-02-27 Thread Ionel Mugurel Ciobîcă
On 27-02-2018, at 08h 36'51", Greg Wooledge wrote about "Re: sort (-g) [offtopic]" > > Did I miss anything? > > Well, this program certainly is ... unusual. Doesn't just *work* by > default. No examples in the man page. Anyway, it looks like yo

Re: sort (-g) [offtopic]

2018-02-27 Thread Greg Wooledge
On Tue, Feb 27, 2018 at 09:48:57AM +0100, Ionel Mugurel Ciobîcă wrote: > # cat roman | msort -q -w -l -y ROMAN > I > II > III > IV > IX > V > VI > VII > VIII > X > XI > XII > Did I miss anything? Well, this program certainly is ... unusual. Doesn't just *work* by default. No examples in the man

Re: sort (-g) [offtopic]

2018-02-27 Thread David Wright
On Tue 27 Feb 2018 at 09:48:57 (+0100), Ionel Mugurel Ciobîcă wrote: > On 19-02-2018, at 03h 23'27", Will Mengarini wrote about "Re: sort (-g) > [offtopic]" > > * Ionel Mugurel Ciobica [18-02/18=Su 16:55 +0100]: > > > [... How can something like >

Re: sort (-g) [offtopic]

2018-02-27 Thread Ionel Mugurel Ciobîcă
On 19-02-2018, at 03h 23'27", Will Mengarini wrote about "Re: sort (-g) [offtopic]" > * Ionel Mugurel Ciobica [18-02/18=Su 16:55 +0100]: > > [... How can something like > > "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX" > > [be sorted? ...] >

Re: sort (-g) [offtopic]

2018-02-19 Thread rhkramer
On Monday, February 19, 2018 06:23:27 AM Will Mengarini wrote: > * Ionel Mugurel Ciobica [18-02/18=Su 16:55 +0100]: > > [... How can something like > > "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX" > > [be sorted? ...] > > See `aptitude show msort`; it probably does what you need. I'm not the OP, b

Re: sort (-g) [offtopic]

2018-02-19 Thread Greg Wooledge
On Sun, Feb 18, 2018 at 04:55:28PM +0100, Ionel Mugurel Ciobîcă wrote: > Anyone care to explain what exactly means the -g option of sort? The > fine manual only says "general numerical", but I doubt that is true, > because -g (and all other options I have tried, -n, -M, -h, -V) will > all put Roman

Re: sort (-g) [offtopic]

2018-02-19 Thread Will Mengarini
* Ionel Mugurel Ciobica [18-02/18=Su 16:55 +0100]: > [... How can something like > "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX" > [be sorted? ...] See `aptitude show msort`; it probably does what you need.

Re: sort (-g) [offtopic]

2018-02-18 Thread Ionel Mugurel Ciobîcă
On 18-02-2018, at 14h 44'27", David Wright wrote about "Re: sort (-g) [offtopic]" > Any script that reads stdin and writes stdout can be used in a pipe. > That's one of the guiding principles of unix. I change the scripts to use read if $# is zero. I could use the

Re: sort (-g) [offtopic]

2018-02-18 Thread John Hasler
David Wright writes: > You shouldn't sort like that. If you've got records to sort which have > an unsortable field like Roman months, then write some thing in sed And Awk, as well as Sort, Cut, Join, and other record-oriented filters. -- John Hasler jhas...@newsguy.com Elmwood, WI USA

Re: sort (-g) [offtopic]

2018-02-18 Thread David Wright
On Sun 18 Feb 2018 at 16:55:28 (+0100), Ionel Mugurel Ciobîcă wrote: > > Anyone care to explain what exactly means the -g option of sort? The > fine manual only says "general numerical", but I doubt that is true, > because -g (and all other options I have tried, -n, -M, -h, -V) will > all put Roma

Re: sort (-g) [offtopic]

2018-02-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Feb 18, 2018 at 04:55:28PM +0100, Ionel Mugurel Ciobîcă wrote: > > Anyone care to explain what exactly means the -g option of sort? The > fine manual only says "general numerical", but I doubt that is true, > because -g (and all other options

Re: Re: sort files by name and maintain sort order when copying to mp3player

2013-03-01 Thread Benjamin Egner
A combination of - http://sourceforge.net/projects/plgen - http://sourceforge.net/projects/fatsort could help. Kind regards, Benjamin -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: htt

Re: Re: sort files by name and maintain sort order when copying to mp3player

2013-03-01 Thread benjamin kent
A combination of - http://sourceforge.net/projects/plgen - http://sourceforge.net/projects/fatsort could help. Kind regards, Benjamin -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http:

Re: Procmail: re-sort all messages

2010-05-08 Thread Alexander Batischev
On Fri, May 07, 2010 at 02:30:06PM +0100, Jon Dowland wrote: > You can invoke procmail by piping an email to it. > > find $LOCAL_MAIL_DIR -type f | while read mail; do procmail < "$mail"; done That's it! Thank you very much! Thank you Monique Y. Mudama and Chris Bannister for nice hints, too — no

Re: Procmail: re-sort all messages

2010-05-08 Thread Chris Bannister
On Fri, May 07, 2010 at 03:38:51PM +0300, Alexander Batischev wrote: > Hi, > > I've just installed fetchmail → procmail → mutt → msmtp chain and want > to configure procmail properly. Of course, I can't write all the rules > in the right way from scratch, so there must be some testing. The only >

Re: Procmail: re-sort all messages

2010-05-07 Thread Monique Y. Mudama
On Fri, May 7 at 15:38, Alexander Batischev penned: > Hi, > > I've just installed fetchmail ??? procmail ??? mutt ??? msmtp chain > and want to configure procmail properly. Of course, I can't write > all the rules in the right way from scratch, so there must be some > testing. The only way to che

Re: Procmail: re-sort all messages

2010-05-07 Thread Jon Dowland
On 07/05/10 13:38, Alexander Batischev wrote: > So here is what I'm looking for: is there a way to run procmail on > already downloaded messages? Maybe I should download them to separate > directory and run procmail on it? Maybe I can just pass existing > (already sorted) mail directory to procmail

Procmail: re-sort all messages

2010-05-07 Thread Alexander Batischev
Hi, I've just installed fetchmail → procmail → mutt → msmtp chain and want to configure procmail properly. Of course, I can't write all the rules in the right way from scratch, so there must be some testing. The only way to check how rules works is actually run procmail and see what happens. Here

Re: sort files by name and maintain sort order when copying to mp3 player

2008-03-24 Thread Florian Kulzer
On Mon, Mar 24, 2008 at 09:09:22 -0200, Eduardo M KALINOWSKI wrote: > On Mon, Mar 24, 2008 at 7:06 AM, Russell L. Harris wrote: > > After two hours of searching with Google and Yahoo, I have not found a > > good approach to the problem of maintaining proper file order when > > copying mp3 files f

Re: sort files by name and maintain sort order when copying to mp3 player

2008-03-24 Thread Russell L. Harris
* Kevin Mark <[EMAIL PROTECTED]> [080324 04:49]: > On Mon, Mar 24, 2008 at 04:06:15AM -0500, Russell L. Harris wrote: > > After two hours of searching with Google and Yahoo, I have not found a > > good approach to the problem of maintaining proper file order when > > copying mp3 files from an ext3

Re: sort files by name and maintain sort order when copying to mp3 player

2008-03-24 Thread Eduardo M KALINOWSKI
On Mon, Mar 24, 2008 at 7:06 AM, Russell L. Harris <[EMAIL PROTECTED]> wrote: > After two hours of searching with Google and Yahoo, I have not found a > good approach to the problem of maintaining proper file order when > copying mp3 files from an ext3 directory to a flash-based mp3 player. > >

Re: sort files by name and maintain sort order when copying to mp3 player

2008-03-24 Thread Kevin Mark
On Mon, Mar 24, 2008 at 04:06:15AM -0500, Russell L. Harris wrote: > After two hours of searching with Google and Yahoo, I have not found a > good approach to the problem of maintaining proper file order when > copying mp3 files from an ext3 directory to a flash-based mp3 player. > > Contrary to t

Re: sort packages by frequency?

2007-04-30 Thread Ralph Katz
On 04/30/2007 05:21 AM, William Xu wrote: > Hi, > > Any tools capable of sorting .deb packages by user's using frequency? > so as to be able to remove some seldom used packages, to save disk > spaces. > William -- The popularity-contest package will provide some of the info you seek. The /var/

Re: sort amarok playlists on multiple fields?

2005-12-12 Thread Iñaki Silanes
Matt Price wrote: > anyone know a way to sort amarok playlists on multiple fields? so, > for instance, can one sort > First by Artist >Then by Album >Then by track number > > so that the playlist goes through your collection album by album? I am using amaroK 1.3, and I think that if

Re: Sort by Thread in Evolution?

2003-06-12 Thread Kent West
Ron Johnson wrote: On Wed, 2003-06-11 at 18:19, Kent West wrote: Playing with Evolution; hopefully this goes out as plain text. Anyone know how to sort messages by thread in Evolution? I've really gotten spoiled to that feature in Mozilla Mail. View->"Threaded Message List" (Make sure th

Re: Sort by Thread in Evolution?

2003-06-11 Thread Dale Hair
On Wed, 2003-06-11 at 18:19, Kent West wrote: > Playing with Evolution; hopefully this goes out as plain text. > > > Anyone know how to sort messages by thread in Evolution? I've really > gotten spoiled to that feature in Mozilla Mail. > > Thanks! > > -- > Kent Select View then choose threade

Re: Sort of OT: network logins

2003-01-27 Thread Dave Sherohman
On Mon, Jan 27, 2003 at 08:44:55PM -0500, Neal Lippman wrote: > I am looking for an approach to the problem of having multiple > installations of debian on each computer on my lan that I use. While it > is certainly reasonable to have a minimal install on each system, > consisting of a basic debian

Re: sort question

2002-09-12 Thread Andre Berger
* Nick Hastings <[EMAIL PROTECTED]>, 2002-09-12 23:45 -0400: > sort -n > > * Andre Berger <[EMAIL PROTECTED]> [020913 13:32]: > > I have a csv file I would like to sort linewise like > > > > 1 text > > 2 text > > 3 text > > . > > . > > . > > 10 text > > > > How can I avoid the curr

Re: sort question

2002-09-12 Thread Nick Hastings
sort -n * Andre Berger <[EMAIL PROTECTED]> [020913 13:32]: > I have a csv file I would like to sort linewise like > > 1 text > 2 text > 3 text > . > . > . > 10 text > > How can I avoid the current sorting result > > 1 text > 10 text > 2 text > 3 text > . > . > . > > ? TIA

Re: sort

2002-05-29 Thread O Senhor
PERFECT simple, one line, and works fine!!! Thanks On Wed, 2002-05-29 at 00:56, Dave Carrigan wrote: > O Senhor <[EMAIL PROTECTED]> writes: > > > How can i delete equal lines from a file, without sort it? > > If i use sort -u, the command clean up the repeat lines, but sort my

Re: sort

2002-05-28 Thread Dave Carrigan
O Senhor <[EMAIL PROTECTED]> writes: > How can i delete equal lines from a file, without sort it? > If i use sort -u, the command clean up the repeat lines, but sort my > file (ascendent). I don't want this. I need my file in original form. perl -ne 'print unless $lines{$_}++' filename -- D

Re: sort

2002-05-28 Thread Steve Juranich
> > I haven't debugged/tested this. YMMV. > > That'll work, but imagine the performance when there are, say, > 75,000 lines, each 50 bytes... Hence the caveat. -- Stephen W. Juranich [EMAIL PROTE

Re: sort

2002-05-28 Thread Ron Johnson
On Tue, 2002-05-28 at 14:25, Steve Juranich wrote: > Here's a chunk of Python code that should do the trick. > > lines = open(filename).readlines() > > line_dict = {} > for line in lines: > if line not in line_dict.keys(): > print line > line_dict[line] = 1 > > I haven'

Re: sort

2002-05-28 Thread dman
On Tue, May 28, 2002 at 03:12:50PM -0400, Rick Pasotto wrote: | On Tue, May 28, 2002 at 04:06:33PM -0300, O Senhor wrote: | > How can i delete equal lines from a file, without sort it? | > If i use sort -u, the command clean up the repeat lines, but sort my | > file (ascendent). I don't want th

Re: sort

2002-05-28 Thread Rick Pasotto
On Tue, May 28, 2002 at 03:42:13PM -0400, Hubert Chan wrote: > > "Rick" == Rick Pasotto <[EMAIL PROTECTED]> writes: > > Rick> Have you looked at 'uniq'? > > uniq still needs the lines to be sorted: > > # man uniq > > [...] > > NAME >uniq - remove duplicate lines from a *sorted* fil

Re: sort

2002-05-28 Thread Hubert Chan
> "Rick" == Rick Pasotto <[EMAIL PROTECTED]> writes: Rick> On Tue, May 28, 2002 at 04:06:33PM -0300, O Senhor wrote: >> How can i delete equal lines from a file, without sort it? If i use >> sort -u, the command clean up the repeat lines, but sort my file >> (ascendent). I don't want this. I

Re: sort

2002-05-28 Thread Dave Thayer
On Tue, May 28, 2002 at 04:06:33PM -0300, O Senhor wrote: > How can i delete equal lines from a file, without sort it? > If i use sort -u, the command clean up the repeat lines, but sort my > file (ascendent). I don't want this. I need my file in original form. > You might try using nl to pre

Re: sort

2002-05-28 Thread Steve Juranich
Here's a chunk of Python code that should do the trick. lines = open(filename).readlines() line_dict = {} for line in lines: if line not in line_dict.keys(): print line line_dict[line] = 1 I haven't debugged/tested this. YMMV. Have fun.

Re: sort

2002-05-28 Thread Rick Pasotto
On Tue, May 28, 2002 at 04:06:33PM -0300, O Senhor wrote: > How can i delete equal lines from a file, without sort it? > If i use sort -u, the command clean up the repeat lines, but sort my > file (ascendent). I don't want this. I need my file in original form. It's fairly trivial to determine

Re: Sort of a Debian question

1999-07-19 Thread John Foster
Martin Bialasinski wrote: > > >> "John" == John Foster <[EMAIL PROTECTED]> wrote: > > John> them. Any body have any suggestions? Please hold off on the > John> "Gourmet GEEK" jokes. I've heard them all. > > Hmm, never heared of such jokes. Dare to post two o three? :-) > > Ciao, > Marti

Re: Sort of a Debian question

1999-07-19 Thread Colin Marquardt
* John Foster <[EMAIL PROTECTED]> writes: > I need a recepie book template or data base to use on my Debian Linux > box. I am embarking on setting up a collection of family recepies, Since some weeks there is the "recipe" style file for LaTeX on CTAN, which gives you the nicest output you can i

Re: Sort of a Debian question

1999-07-18 Thread Martin Bialasinski
>> "John" == John Foster <[EMAIL PROTECTED]> wrote: John> them. Any body have any suggestions? Please hold off on the John> "Gourmet GEEK" jokes. I've heard them all. Hmm, never heared of such jokes. Dare to post two o three? :-) Ciao, Martin

Re: Sort of a Debian question

1999-07-18 Thread John Foster
John Foster wrote: > > Wayne Topa wrote: > > Thanks John, now I'm not the only one! My wife wanted one also, so I > > started working on an Mysql solution one for her. __ Hey Wayne; if you had any luck with MySql for implementing it as a document storage

Re: Sort of a Debian question

1999-07-18 Thread John Foster
Wayne Topa wrote: > > Subject: Sort of a Debian question > Date: Sun, Jul 18, 1999 at 12:39:04AM -0500 > > In reply to:John Foster > > Quoting John Foster([EMAIL PROTECTED]): > > OK please hold the laughter, this is serious business.. > > I need a recepie book template or dat

Re: Sort of a Debian question

1999-07-18 Thread Wayne Topa
Subject: Sort of a Debian question Date: Sun, Jul 18, 1999 at 12:39:04AM -0500 In reply to:John Foster Quoting John Foster([EMAIL PROTECTED]): > OK please hold the laughter, this is serious business.. > I need a recepie book template or data base to use on my Debian Linux > b

Re: (sort of) Bug in mc

1996-05-31 Thread Miguel de Icaza
> By the way, I created a script to handle debian packages as an extfs, > similar to the one included for Red Hat packages. Would you be willing to > include it in your mainstream distribution? I will be happy to do so. Best wishes, Miguel.

Re: (sort of) Bug in mc

1996-05-31 Thread Fernando
On Tue, 28 May 1996, Miguel de Icaza wrote: > I just wonder if it is possible for the maintainer of the debian > package to configure the program to not use ncurses (ie, to let the > default screen manager be used) and to upgrade to a newer version of > the program (3.2.1 is current, I announced

Re: (sort of) Bug in mc

1996-05-28 Thread Miguel de Icaza
> I'm using precompiled binary of mc-3.1.4 that came with Debian-1.1 beta, > kernel 1.3.64. Mc is compiled with libncurses.so.3 (1.9.9e) and libc.so.5 > (5.2.18 ?), gcc-2.7.2 (?) -- Fernando Alegre ([EMAIL PROTECTED]) > knows the details. I just wonder if it is possible for the maintainer of t