view bin/sed @ 12476:3ded3d281de8 draft

<wib_jonas> slashlearn ponderthis//Ponder This are monthly open-ended programming puzzle challenges that some regulars enjoy: https://research.ibm.com/haifa/ponderthis/index.shtml
author HackEso <hackeso@esolangs.org>
date Mon, 27 Feb 2023 10:56:19 +0000
parents 2f89f6385868
children
line wrap: on
line source

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