view bin/sed @ 10790:59e28b02a9ee

<oerjan> ` cd bin; cp wget curl
author HackBot
date Sat, 22 Apr 2017 00:01:13 +0000
parents 2f89f6385868
children
line wrap: on
line source

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