view bin/sed @ 11200:bab35b823773

<int-e> ` sed -i \'$s=sha[c]haf=shach\x0faf=\' quotes > /dev/null
author HackBot
date Tue, 26 Sep 2017 10:49:31 +0000
parents 2f89f6385868
children
line wrap: on
line source

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