view bin/sed @ 12343:152b13767dac draft

<int-e> learn FTW stands for "forgot the words".
author HackEso <hackeso@esolangs.org>
date Wed, 30 Sep 2020 01:06:38 +0000
parents 2f89f6385868
children
line wrap: on
line source

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