view bin/sed @ 11228:26a0dbd61005

<oerjan> undo 11226
author HackBot
date Tue, 17 Oct 2017 02:16:32 +0000
parents 2f89f6385868
children
line wrap: on
line source

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