changeset 9504:d17fc0757abc

<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:25:56 +0000
parents 3fc3b4da9f7e
children 36f9fa561736
files bin/sed2
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/sed2	Sat Oct 29 19:25:24 2016 +0000
+++ b/bin/sed2	Sat Oct 29 19:25:56 2016 +0000
@@ -1,2 +1,2 @@
 #!/bin/bash
-/bin/sed "$@" && if [[ $* == "3" -a "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
+/bin/sed "$@" && if [[ $* == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi