view bin/sed @ 10773:d9d852361c7d

<shachaf> mkx bin/5w//5 w
author HackBot
date Fri, 21 Apr 2017 00:23:08 +0000
parents 2f89f6385868
children
line wrap: on
line source

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