view bin/sed @ 9998:8f39fff84176

<hppavilion[1]> le/rn currying//Functions are curried by taking curry(f)
author HackBot
date Tue, 20 Dec 2016 04:23:55 +0000
parents 2f89f6385868
children
line wrap: on
line source

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