I want to be able to use sed to take an input such as:
C:WindowsFolderFile.txt
to
C:/Windows/Folder/File.txt
sed can perform text transformations on input stream from a file or from a pipeline. Example:
sed
echo 'C:fooar.xml' | sed 's/\///g'
gets
C:/foo/bar.xml
2.1m questions
2.1m answers
60 comments
57.0k users