Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 09:15:28 -0800
From:      Jim Pazarena <fquest@ccstores.com>
To:        freebsd-questions@freebsd.org
Subject:   need help with script and sed
Message-ID:  <421622B0.9030600@ccstores.com>

next in thread | raw e-mail | index | archive | help
I would like to traverse my /users/home tree searching
for all regular files and change any lines which read:
   "/cgi-bin/Count.cgi ..." to:
   "http://counter.qcislands.net/cgi-bin/Count.cgi ..."

I kinda think that a 'find' with an -exec of 'sed' would do
it but I'm not sure, and even if it were, I'm not sure of
the syntax.

Could someone help me please?

Thanks!
Jim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421622B0.9030600>