Neat little .newsrc fixer-upper.
Dik T. Winter
dik at cwi.nl
Wed Apr 27 18:09:50 AEST 1988
In article <11237 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
> In article <2083 at quacky.mips.COM> dce at mips.COM (David Elliott) writes:
> >Why write a C program when a standard Unix utility can do the trick?
> >
> >sed [amazing sed command deleted]
>
> Because sed has a limit of BUFSIZ (or LBSIZE, but I suspect that is
> for the hold buffer) length lines.
>
> (Actually, I prefer to edit long .newsrc lines with Emacs.)
> --
Actually I have never a need to edit long .newsrc lines, because I do
not get them. How? Simple, I removed all unsubscribed newsgroups from
it (makes rn start faster also). And rn will not ask you everytime
about them, it only asks about truly new groups.
--
dik t. winter, cwi, amsterdam, nederland
INTERNET : dik at cwi.nl
BITNET/EARN: dik at mcvax
More information about the Comp.unix.questions
mailing list