[vox-tech] sed question

Bryan Richter vox-tech@lists.lugod.org
Wed, 29 Oct 2003 20:14:48 -0800


On Wed, Oct 29, 2003 at 08:06:38PM -0800, David Margolis wrote:
> How do I do: 'sed s/$i\\/$i/$i/g' when $i might have it's own forward
> slashes?

The / character is arbitrary in sed expressions. Maybe try using 
'sed s#$i\\/$i#$i#g' ? 

-Bryan R