view bin/sed @ 10382:80035b119441

<shachaf> slwd np//s.ns.n problems.
author HackBot
date Fri, 10 Mar 2017 03:39:34 +0000
parents 2f89f6385868
children
line wrap: on
line source

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