view bin/sed @ 12396:999b064a423a draft

<salpynx> ` cp \xf0\x9f\x8c\xb1 ../bin
author HackEso <hackeso@esolangs.org>
date Thu, 27 May 2021 14:28:50 +0000
parents 2f89f6385868
children
line wrap: on
line source

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