view bin/sed @ 11998:f15bb97c9be8 draft

<ais523_> le//rn password//The password of the month is mostly irrelevant.
author HackEso <hackeso@esolangs.org>
date Mon, 04 Nov 2019 10:56:10 +0000
parents 2f89f6385868
children
line wrap: on
line source

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