view bin/sed @ 9575:50ea4c5acaab

<boily> ` sed -i \'s/ / /\' wisdom/orodruin
author HackBot
date Mon, 31 Oct 2016 10:46:43 +0000
parents 2f89f6385868
children
line wrap: on
line source

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