view bin/sed @ 9499:f542f18d7836

<oerjan> sled bin/sed//1i#!/bin/bash
author HackBot
date Sat, 29 Oct 2016 19:14:47 +0000
parents e2fe9c449a12
children d18256fd6450
line wrap: on
line source

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