diff bin/sed2 @ 9506:00637a9cc07c

<oerjan> sled bin/sed2//2aecho "$*; $3"
author HackBot
date Sat, 29 Oct 2016 19:29:23 +0000
parents d17fc0757abc
children f6b0e165c341
line wrap: on
line diff
--- a/bin/sed2	Sat Oct 29 19:26:51 2016 +0000
+++ b/bin/sed2	Sat Oct 29 19:29:23 2016 +0000
@@ -1,2 +1,3 @@
 #!/bin/bash
 /bin/sed "$@" && if [[ $* == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
+echo "$*; $3"