view bin/sed @ 11254:b7500dbc417e

<boily> slwd hexham//s/$/./
author HackBot
date Thu, 07 Dec 2017 01:50:19 +0000
parents 2f89f6385868
children
line wrap: on
line source

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