changeset 9506:00637a9cc07c

<oerjan> sled bin/sed2//2aecho "$*; $3"
author HackBot
date Sat, 29 Oct 2016 19:29:23 +0000
parents 36f9fa561736
children 489f05e169ec
files bin/sed2
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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"