Mercurial > repo
changeset 9508:f6b0e165c341
<oerjan> sled bin/sed2//2c/bin/sed "$@" && if [[ $# == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
author | HackBot |
---|---|
date | Sat, 29 Oct 2016 19:30:14 +0000 |
parents | 489f05e169ec |
children | 226f88f7fcd2 |
files | bin/sed2 |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/sed2 Sat Oct 29 19:29:36 2016 +0000 +++ b/bin/sed2 Sat Oct 29 19:30:14 2016 +0000 @@ -1,3 +1,3 @@ #!/bin/bash -/bin/sed "$@" && if [[ $* == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi +/bin/sed "$@" && if [[ $# == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi echo "$*; $3"