view bin/sed @ 10688:5eae1c34498c

<oerjan> # Indeed not//`forget jwinslow23
author HackBot
date Sun, 16 Apr 2017 01:19:16 +0000
parents 2f89f6385868
children
line wrap: on
line source

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