view bin/sed @ 12227:9cb638b68832 draft

<oerjan> t sled lib/interp//6iecho $ARGFILE
author HackEso <hackeso@esolangs.org>
date Wed, 04 Dec 2019 04:28:21 +0000
parents 2f89f6385868
children
line wrap: on
line source

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