From 07a0bda39b24c5fbdf05201312948293b91bdc82 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 6 Jan 2009 10:51:02 +0100 Subject: [PATCH] deleted copy Signed-off-by: Nico Schottelius --- generate_script_header-v0.1 | 44 ------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 generate_script_header-v0.1 diff --git a/generate_script_header-v0.1 b/generate_script_header-v0.1 deleted file mode 100644 index 386d71a..0000000 --- a/generate_script_header-v0.1 +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# Nico Schottelius -# Date: Wed Apr 30 14:57:23 CEST 2003 -# Last Modified: -# -# nico@flapp:~/bin $ cat ~/.script-template -# author="Nico Schottelius" -# email="nico@schottelius.(net|org)" -# - - -TEMPLATE=~/.script-template - -if [ $# -lt 1 ]; then - echo "`basename $0`: new script file(s)" - exit 1 -fi - - -_i=1 -while [ "$_i" -le "$#" ]; do - eval _file=\$$_i - echo $_file - if [ -e "$_file" ]; then - echo "$_file exists. Will not overwrite it. Or will I ?" - else - if [ ! -e "$TEMPLATE" ]; then - echo "Required Template missing. Aborting." - exit 1 - else - . $TEMPLATE - cat << EOF > "$_file" -#!/bin/sh -# -# $author <$email> -# Date: `date +%d-%h-%Y` -# Last Modified: - -# -EOF - fi - fi - _i=$[$_i+1] -done