sed 's|/|\|'
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
you have to quote the backslash because it is a reserved character and g performs the action globally