From 52ca584dcd00236a6fe605121cc1b2f0f580e692 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 24 Sep 2011 22:43:09 +0200 Subject: //util magic: simplify create --- util/bin/magic | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'util/bin/magic') diff --git a/util/bin/magic b/util/bin/magic index 8f3c7e04..874a8883 100755 --- a/util/bin/magic +++ b/util/bin/magic @@ -14,13 +14,11 @@ has() { create() { destroy "$@" - cache="`cat $3`" - { - echo "$cache" - echo "$bs" - cat - echo "$es" - } >$3 + cat>>$3<