ian@utcsstat.UUCP (Ian F. Darwin, Toronto, Canada <ian@utcsstat.uucp>) (10/08/83)
Somebody wrote a while back (sorry, I forget the name) with a news wishlist. One item was the difficulty of resuscribing to newsgroups once you've used U on them. I immediately (today, not when I read it) ran to my terminal to attack the problem with vigor and determination, undismayed by the severity (or lack of same) of the problem before me. This Bourne-shell script (i.e., sh, not csh) will resuscribe to newsgroups: usage: resuscribe group [...] echo x resuscribe cat>resuscribe<<! # resuscribe to newsgroup[s]... for i do echo "g/$i/s/!/:/p%w%q" | tr % \\012 | ed $HOME/.newsrc done ! Hope somebody finds it useful somewhere.
jjb@pyuxnn.UUCP (10/11/83)
I found the resuscribe shell to be useful, but for resuscribing to several newsgroups, it could be expensive to keep invoking the editor: cat>resuscribe<<! # resuscribe to newsgroup[s]... for i do echo "g/$i/s/!/:/p%w%q" | tr % \\012 | ed $HOME/.newsrc done ! I find it better to do the following. There are less overall processes: cat >resuscribe <<! # resuscribe to newsgroup[s]... ( for i do echo "g/$i/s/!/:/" done; echo "w\nq") | ed - $HOME/.newsrc Jeff Bernardis - BTL Piscataway
bees@drux3.UUCP (Ray Davis) (10/18/83)
s/resuscribe/resubscribe/ please!