9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ralph Corderoy <ralph@inputplus.co.uk>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] text utility
Date: Mon, 28 Jul 2003 08:47:55 +0000	[thread overview]
Message-ID: <1064.3f2242e3.bedc3@blake.inputplus.co.uk> (raw)
In-Reply-To: <5d6d2e6816f4cad3c83e828f8683e9ab@collyer.net>

Hi Geoff,

>	awk '{print NR, $0}' | sort -nr | sed 's/^[0-9]+ //'

That's what I use, except `cat -n' instead of having awk deal with each
line.

Cheers,

--
Ralph Corderoy.      http://inputplus.co.uk/ralph/     http://troff.org/


  parent reply	other threads:[~2003-07-28  8:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-21 11:45 pac
2003-07-21 11:52 ` boyd, rounin
2003-07-22 14:09   ` rog
2003-07-22 14:35     ` boyd, rounin
2003-07-22 16:43       ` rog
2003-07-22 23:28     ` Geoff Collyer
2003-07-23 15:05       ` rog
2003-07-23 18:42         ` Dan Cross
2003-07-24  9:19           ` matt
2003-07-28  8:47       ` Ralph Corderoy [this message]
2003-07-28 21:58         ` Geoff Collyer
2003-07-30  8:25           ` Ralph Corderoy

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=1064.3f2242e3.bedc3@blake.inputplus.co.uk \
    --to=ralph@inputplus.co.uk \
    --cc=9fans@cse.psu.edu \
    /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).