view bin/sed @ 10943:b92c126114f0

<shachaf> forget unicide
author HackBot
date Mon, 22 May 2017 02:02:20 +0000
parents 2f89f6385868
children
line wrap: on
line source

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