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.
>
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
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
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
>
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? ...]
>
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
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
* 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.
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
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
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
-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
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
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:
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
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
>
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
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
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
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
* 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
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.
>
>
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
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/
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
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
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
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
* 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
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
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
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
> > 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
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'
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
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
> "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
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
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.
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
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
* 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
>> "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
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
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
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
> 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.
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
> 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
49 matches
Mail list logo