view bin/sed @ 10014:f8cc0be6aebd

<oerjan> slwd possibility//s/be not/not be/
author HackBot
date Fri, 23 Dec 2016 21:13:02 +0000
parents 2f89f6385868
children
line wrap: on
line source

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