Re: List of groups



On 2008-09-26, Sqwertz <swertz@xxxxxxxxxxxxxxxx> wrote:

$ cat listofnewgroups | sed 's/$/:' >> ~/.jnewsrc

..outghta do the trick. My sed is a pretty rusty. Somebody will
correct me if I'm wrong (this is Usenet after all ;-)

Close, but you do get a "useless use of cat" award. :-)

$ sed 's/$/:/' listofgroups >> ~/.jnewsrc

Also note that I added a trailing / to your expression. sed requires
that to properly terminate the expression.

Regards,
Bob
.