view bin/sed @ 9667:7a25047067d0

<shachaf> slwd oerjan//s#tebrate#end#
author HackBot
date Fri, 11 Nov 2016 21:11:59 +0000
parents 2f89f6385868
children
line wrap: on
line source

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