# HG changeset patch # User HackBot # Date 1477768728 0 # Node ID d18256fd64506f82973d794e0686ea30eb774c04 # Parent ebc81ceadec9ea266a8b3b1bf18a09262d671838 sled bin/sed//2c/bin/sed "$@" && if [[ $* == "3" -a "$1" == "-i" ]]; then echo -n "$3//"; cat "$3"; fi diff -r ebc81ceadec9 -r d18256fd6450 bin/sed --- a/bin/sed Sat Oct 29 19:15:05 2016 +0000 +++ b/bin/sed Sat Oct 29 19:18:48 2016 +0000 @@ -1,2 +1,2 @@ #!/bin/bash -/bin/sed "$@" && if [ $* == "3" ] && [ $1 == "-i" ]; then echo -n "$3//"; cat "$3"; fi +/bin/sed "$@" && if [[ $* == "3" -a "$1" == "-i" ]]; then echo -n "$3//"; cat "$3"; fi