view bin/sed @ 11226:c08627cbe6f0

<oerjan> revert
author HackBot
date Tue, 17 Oct 2017 02:15:13 +0000
parents 2f89f6385868
children
line wrap: on
line source

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