#!/bin/bashregex='\abc\';echo $regex;echo $regex | sed 's/\\/\\\\/g';
Standard input is empty
\abc\ \\abc\\
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!