# HG changeset patch # User HackBot # Date 1393036829 0 # Node ID d0f1cc2788699b69b87ddad175519672fe36f940 # Parent 3a62de2180a79f1c634a784c43a96b7b88085e40 sed -i -re \'s/echo ("?)\\$[@*]\\1 /print_args_or_input "$@" /g\' bin/shmify bin/unhex; cat bin/shmify bin/unhex diff -r 3a62de2180a7 -r d0f1cc278869 bin/shmify --- a/bin/shmify Sat Feb 22 02:39:01 2014 +0000 +++ b/bin/shmify Sat Feb 22 02:40:29 2014 +0000 @@ -1,2 +1,2 @@ #!/bin/bash -echo "$@" | sed -e 's/^\([^aeiou]*\)\(.*\)$/\1\2 shm\2/' +print_args_or_input "$@" | sed -e 's/^\([^aeiou]*\)\(.*\)$/\1\2 shm\2/' diff -r 3a62de2180a7 -r d0f1cc278869 bin/unhex --- a/bin/unhex Sat Feb 22 02:39:01 2014 +0000 +++ b/bin/unhex Sat Feb 22 02:40:29 2014 +0000 @@ -1,1 +1,1 @@ -echo "$@" | xxd -r -p +print_args_or_input "$@" | xxd -r -p