🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37424

Re: overview problems

#37424
From: bill davidsen
Date: Wed, 12 May 1999 00:00
34 lines
2228 bytes
In article <7h6sjf$bpu$2@bagan.srce.hr>,
Drazen Gemic  <dgemic@regoc.srce.hr> wrote:

| There is a line in man page of makehistory. According to it,
| you have done the first step. The second one would be:
| 
| sort -t' ' +1 -2 /data5 | expireindex -a -o -z 

I have often wondered why the author of the doc felt the -t option was
needed. The default separator is the transition from non-whitespace to
whitespace, and if the leading blank made a diference (it doesn't seem
to) a -b would drop it. Seems to work fine without it, although I
dropped it in my script before checking that it seems redundant on the
cases I tried.

BTW: is there a source for a sort in which the -t option actually
*works* as documented? I trying to sort IP addresses, I assumed that
   sort -t. -n
would work, but it doesn't. I asked some folks at the office and I find
that this doesn't "work right" in general. I person needed to sort some
lines of octal numbers, using the character "8" as the field seperator
(we didn't dram that one up). Needless to say,
   sort -t8 -n
didn't work.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Technical Details
Message-ID: <7hcfsb$lvc$1@newssvr01-int.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7h3olf$3ov$1@nnrp1.deja.com> <7h6sjf$bpu$2@bagan.srce.hr>

Show Full Headers
Complete Article Headers
Message-ID: <7hcfsb$lvc$1@newssvr01-int.news.prodigy.com>
Subject: Re: overview problems
Date: Wed, 12 May 1999 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <7h3olf$3ov$1@nnrp1.deja.com> <7h6sjf$bpu$2@bagan.srce.hr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 477096955
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr01-int.news.prodigy.com 926532299 22508 199.4.137.118 (12 May 1999 18:04:59 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: 12 May 1999 18:04:59 GMT
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com