From: Ted Rathkopf <ted@rathkopf.org>
Cc: ding@gnus.org
Subject: Re: Future feature: Gzip of nnfolders?
Date: 17 Jul 1999 10:47:02 -0400 [thread overview]
Message-ID: <rx1ze7jpuh.fsf@rathkopf.org> (raw)
In-Reply-To: Kai Großjohann's message of "17 Jul 1999 12:55:07 +0200"
Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:
> Stainless Steel Rat <ratinox@peorth.gweep.net> writes:
>
> > * Jonas Steverud <d4jonas@dtek.chalmers.se> on Fri, 16 Jul 1999
> >
> > | BREVFIL="${BREVLISTA}/`ls $BREVLISTA | gawk '{ printf("%03d\n", $1) }' | sort | gawk 'END { print (substr($0, match($0, "[^0][0-9]*")) + 1) }'`"
> >
> > Ummm... like I said, 'ls -1 | tail -1'.
>
> ,-----
> | $ mkdir /tmp/foo
> | $ cd /tmp/foo
> | $ touch 1 2 3 4 5 6 7 8 9 10
> | $ ls -1
> | 1
> | 10
> | 2
> | 3
> | 4
> | 5
> | 6
> | 7
> | 8
> | 9
> | $
> `-----
>
> Please note that nnmh files are sorted numerically. I think "ls -1 |
> sort -n | tail -1" will do the trick, though.
Or "ls -1tr | tail -1"
--
Ted Rathkopf
next prev parent reply other threads:[~1999-07-17 14:47 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <wtnyagrdomg.fsf@licia.dtek.chalmers.se>
1999-07-08 19:27 ` Stainless Steel Rat
[not found] ` <wtnr9mhlsez.fsf@licia.dtek.chalmers.se>
1999-07-09 18:58 ` Stainless Steel Rat
[not found] ` <wtnaet539sa.fsf@leemor.dtek.chalmers.se>
1999-07-09 20:16 ` Stainless Steel Rat
[not found] ` <wtniu7sgaag.fsf@licia.dtek.chalmers.se>
1999-07-10 17:23 ` Andrew Markebo
1999-07-10 19:30 ` Ted Rathkopf
1999-07-10 20:17 ` Andrew Markebo
1999-07-10 21:56 ` Ted Rathkopf
1999-07-12 7:12 ` Andrew Markebo
1999-07-12 12:06 ` Ted Rathkopf
1999-07-12 15:40 ` Dirk Bernhardt
1999-07-12 15:41 ` Dirk Bernhardt
1999-07-13 5:52 ` Andrew Markebo
[not found] ` <wtnzp11jcga.fsf@licia.dtek.chalmers.se>
1999-07-15 2:56 ` Justin Sheehy
[not found] ` <wtnd7xswnak.fsf@licia.dtek.chalmers.se>
1999-07-16 17:45 ` Kai Großjohann
1999-07-16 20:28 ` Stainless Steel Rat
[not found] ` <wtnn1wwb7p5.fsf@licia.dtek.chalmers.se>
1999-07-17 3:38 ` Stainless Steel Rat
1999-07-17 10:55 ` Kai Großjohann
1999-07-17 14:47 ` Ted Rathkopf [this message]
1999-07-17 14:55 ` Ted Rathkopf
1999-07-18 13:17 ` Stainless Steel Rat
1999-07-19 8:33 ` Stephen Zander
1999-07-19 14:56 ` Stainless Steel Rat
[not found] ` <wtnyagfbsrc.fsf@licia.dtek.chalmers.se>
1999-07-18 13:12 ` Stainless Steel Rat
1999-07-19 11:41 ` Toby Speight
1999-07-19 14:57 ` Stainless Steel Rat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rx1ze7jpuh.fsf@rathkopf.org \
--to=ted@rathkopf.org \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).