view bin/sed @ 9940:d5eaf076cba2

<shachaf> slwd adventure//s#\\. #. #g
author HackBot
date Sun, 11 Dec 2016 19:42:35 +0000
parents 2f89f6385868
children
line wrap: on
line source

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