mazda@killer.UUCP (John Wilson) (04/30/88)
Another method of cleaning up the .newsrc file after a long vnews or readnews session: AFTER the session, do a background vnews redirected to /dev/null. This will update the .newsrc file and (in my experience) do away with all of the commas, dashes and article.numbers between the first and last article numbers of a given group. ----------------- I put the following in an executable file called KNEWS readnews -p > /dev/null & ---------------- I also rearrange my .newsrc file so that all subscribed to groups are at the `top' of the file followed by all groups not subscribed to. awk '/options/ {print $0} /^*:/ {print $0} ' .newsrc >subscribe awk '/^*!/ {print $0}' .newsrc > unscribe cat unscribe subscribe >> (new).newsrc ---------- Finally I rearrange (using vi) some of the more important (to me) groups toward the `top' so that they will be read first with rn or readnews. This has worked for me at killer.UUCP (The Unix(*) Connection). -- -------------------------------------------------------------------------------- ...the greatest sensation of existence, | J.P.Wilson - ...!killer!mazda not to trust, but to know. a.r. | mazda@killer.UUCP --------------------------------------------------------------------------------