view bin/sed @ 11189:2d8d118ae4ed

<oerjan> slwd oerjan//s,isiv,ipherabl,
author HackBot
date Sun, 03 Sep 2017 03:56: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