view bin/sed @ 11251:4f78ebb7e1b8

<oerjan> learn The password of the month is equally offensive to all beliefs (but not time zones)
author HackBot
date Fri, 01 Dec 2017 03:01:21 +0000
parents 2f89f6385868
children
line wrap: on
line source

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