view bin/sed @ 9944:96c20c8dfb6d

<shachaf> slwd hydrogen//s;\\. ;. ;g
author HackBot
date Sun, 11 Dec 2016 19:45:27 +0000
parents 2f89f6385868
children
line wrap: on
line source

#!/bin/bash
/bin/sed "$@" && if [[ $# == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi