view bin/sed @ 12270:a92152b1f5ec draft

<int-e> learn GOTO is just one step removed from going to hell.
author HackEso <hackeso@esolangs.org>
date Fri, 27 Dec 2019 08:01:39 +0000
parents 2f89f6385868
children
line wrap: on
line source

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