view bin/sed @ 10220:3d2df2077c46

<shachaf> sled bin/hlnp//s#share#/hackenv/&#
author HackBot
date Wed, 08 Feb 2017 23:35:02 +0000
parents 2f89f6385868
children
line wrap: on
line source

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