On Wed, Sep 18, 2002 at 11:37:37PM -0400, Anthony E. Greene wrote: > > You want to read a list of host names from a file and prepend 'www' > to any name that does not already start with 'www'. Try this:
[...] If in a hurry: perl -pi -e 's/^/www./ unless /^www\./' $your_file -- Hal Burgiss -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list