IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Thanks
Thanks, I had to fix to sed to escape the slashes correctly, but that was simple. It only seemed to correct one instance per line, but I just ran several times.

for file in $( find . -name "*.html" -print ); do sed -i.bak 's|\\|/|' $file; done

Jay
New Just add the "g" modifier to the sed script
That'll get every instance on a line.
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
     In file search and replace? - (JayMehaffey) - (8)
         I'd do something like this - (crazy)
         sed or awk - (ChrisR)
         cat filename | tr '\\\\' '/' > tmp; mv tmp filename - (tuberculosis)
         YAAnswer - (Yendor) - (3)
             Hey that's nifty. - (static)
             Thanks - (JayMehaffey) - (1)
                 Just add the "g" modifier to the sed script - (Yendor)
         Late to the party, but have you tried "tidy"? - (a6l6e6x)

Ah-ha! And "so's your old man!"
32 ms