view bin/sed @ 11358:3ce771ffb953

<wob_jonas> forget b_jonas can\'t spell
author HackBot
date Wed, 28 Feb 2018 01:39:29 +0000
parents 2f89f6385868
children
line wrap: on
line source

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