view bin/sed @ 9990:4139a6b6fb94

<hppavilion[0]> ` sed -i "s/ERsi/ERlis/" bin/grwfi
author HackBot
date Fri, 16 Dec 2016 19:48:09 +0000
parents 2f89f6385868
children
line wrap: on
line source

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