sed vs. vi note
Mar. 1st, 2006 03:55 pmIn vi, the search and replace delimiters *default* to / (e.g.
When I use sed to get rid of extraneous "/32"s, I can only pass it by escaping the slash with a backslash (e.g.
:s/string1/string2/) but *can* be changed. I frequently use :s!/32!! to rid myself of needless bits.When I use sed to get rid of extraneous "/32"s, I can only pass it by escaping the slash with a backslash (e.g.
sed 's/\/32//' foo.txt > bar.txt).