changeset 4494:d0f1cc278869

<ion> sed -i -re \'s/echo ("?)\\$[@*]\\1 /print_args_or_input "$@" /g\' bin/shmify bin/unhex; cat bin/shmify bin/unhex
author HackBot
date Sat, 22 Feb 2014 02:40:29 +0000
parents 3a62de2180a7
children c8cf72bc76dc
files bin/shmify bin/unhex
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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/'
--- 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