view bin/sed @ 9983:b4b5bb1ac820

<moonheart08> ` sed \'s/shift/shift 1/\' bin/pad > bin/pad
author HackBot
date Thu, 15 Dec 2016 01:58:38 +0000
parents 2f89f6385868
children
line wrap: on
line source

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