Date: Fri, 28 Jan 2005 07:08:08 +0100 From: Anthony Atkielski <atkielski.anthony@wanadoo.fr> To: freebsd-questions@freebsd.org Subject: Re: One-line global string replace in all files with sed (or awk?) Message-ID: <592951872.20050128070808@wanadoo.fr> In-Reply-To: <1098984237.20050128065616@wanadoo.fr> References: <1098984237.20050128065616@wanadoo.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hmm ... maybe I found it: grep -R -l "xxx" /www/htdocs | xargs sed -i '' -e 's/xxx/yyy/g' Does that look okay? Seems to work in my test. -- Anthony
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?592951872.20050128070808>
