Article View: news.software.readers
Article #61512Re: [slrn] Automatically score threads I post/follow-up to?
From: Jim Marshall
Date: Sat, 13 May 2000 00:00
Date: Sat, 13 May 2000 00:00
24 lines
1487 bytes
1487 bytes
In news.software.readers on 13 May 2000 15:06:54 GMT, Jurriaan W Kalkman <thunder7@xs4all.nl> wrote: >On Sat, 13 May 2000 06:04:50 -0700, Jim Marshall ><jmarshall@mojo.chicken.com> wrote: >>set editor_command "vi +%d '%s'" starts me at the beginning of the >>quoted stuff. >> >you could probably replace vi by a little shell-script that does >something like > >#!/bin/sh >sig=`grep -n "^-- " $2` >lines=`expr $1 + $sig - 1` >/usr/local/bin/vi +$lines $2 > Very nice. A little tweak (sig=`grep -n "^-- " $2 | cut -d : -f 1`) got just what I wanted. Thanks for the help! -- Slackware 7.0 Linux 2:53pm up 4 days, 15:29, 5 users, load average: 0.01, 0.01, 0.00
Technical Details
Message-ID:
<slrn8hrjv7.r24.jmarshall@mojo.chicken.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn8hqkni.lr0.jmarshall@mojo.chicken.com> <slrn8hqpbr.4k0._hate_spam_thunder7@middle.of.nowhere>Show Full Headers
Complete Article Headers
Message-ID: <slrn8hrjv7.r24.jmarshall@mojo.chicken.com> Subject: Re: [slrn] Automatically score threads I post/follow-up to? Date: Sat, 13 May 2000 00:00:00 +0000 From: jmarshall@mojo.chicken.com (Jim Marshall) References: <slrn8hqkni.lr0.jmarshall@mojo.chicken.com> <slrn8hqpbr.4k0._hate_spam_thunder7@middle.of.nowhere> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 623061085 Organization: Posted via Supernews, http://www.supernews.com User-Agent: slrn/0.9.6.2 (Linux) Reply-To: slimharpo99@yahoo.com Newsgroups: news.software.readers X-Complaints-To: newsabuse@supernews.com