view bin/sed @ 10999:6413acdb393d

<oerjan> learn Covfefe is how you speak when you\'ve had *way* too much coffee.
author HackBot
date Sat, 03 Jun 2017 06:29:11 +0000
parents 2f89f6385868
children
line wrap: on
line source

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