view bin/sed @ 11255:ad0977bc1f45

<oerjan> addquote <Taneb> English is a lie, words lack intrinsic meaning <int-e> fortunately people don\'t operate for long in a vacuum so there\'ll always be context
author HackBot
date Thu, 07 Dec 2017 10:21:07 +0000
parents 2f89f6385868
children
line wrap: on
line source

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