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
1.4m articles
1.4m replys
5 comments
57.0k users