view bin/sed @ 9501:d18256fd6450

<oerjan> sled bin/sed//2c/bin/sed "$@" && if [[ $* == "3" -a "$1" == "-i" ]]; then echo -n "$3//"; cat "$3"; fi
author HackBot
date Sat, 29 Oct 2016 19:18:48 +0000
parents f542f18d7836
children
line wrap: on
line source

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