diff options
Diffstat (limited to 'util/bin/magic')
-rwxr-xr-x | util/bin/magic | 12 |
1 files changed, 5 insertions, 7 deletions
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<<EOF +$bs +`cat` +$es +EOF } #retrieve() { |