comparison bin/sed2 @ 9503:3fc3b4da9f7e

<oerjan> sled bin/sed2//2c/bin/sed "$@" && if [[ $* == "3" -a "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
author HackBot
date Sat, 29 Oct 2016 19:25:24 +0000
parents eea55617722b
children d17fc0757abc
comparison
equal deleted inserted replaced
9502:eea55617722b 9503:3fc3b4da9f7e
1 #!/bin/bash 1 #!/bin/bash
2 /bin/sed "$@" && if [[ $* == "3" -a "$1" == "-i" ]]; then echo -n "$3//"; cat "$3"; fi 2 /bin/sed "$@" && if [[ $* == "3" -a "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi