Error in /ASCII/ (8)

6 Name: Anonymous 2005-03-05 02:30 ID:Ts72JXAZ

>>4
Mildly tested solution. Um... Don't kill me if it breaks.

Put this in a script called sed.sh:

#!/bin/sh
fn=$1
sed -s 's/ \& / \& /g' $fn >$fn.tmp && mv $fn.tmp $fn

Give sed.sh execute permission. Then do this:

$ find /path/to/files -iname '*.html' -exec ./sed.sh {} \;

You might have to fix the permissions on all your HTML files afterward.

This thread has been closed. You cannot post in this thread any longer.