view bin/sed @ 9812:479bc0f57a54

<shachaf> slwd ../bin/hlnp//1s#..$# | 3342 | 3343&#
author HackBot
date Fri, 02 Dec 2016 02:58:22 +0000
parents 2f89f6385868
children
line wrap: on
line source

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