view bin/sed @ 11579:977eb86d5521 draft

<oerjan> learn NVG is a student computer club in Trondheim, whose servers are frequently infiltrated by oerjan. Not to be confused with nvd.
author HackEso <hackeso@esolangs.org>
date Mon, 18 Jun 2018 00:58:34 +0100
parents 2f89f6385868
children
line wrap: on
line source

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