view bin/sed @ 9516:5318e49e91f3

<oerjan> sled bin/dos2unix//s,^,/bin/,
author HackBot
date Sat, 29 Oct 2016 19:37: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