summaryrefslogtreecommitdiff
path: root/distrib/amiga/floppies/list2sh.awk
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-15 09:06:34 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-15 09:06:34 +0000
commit294ebc1820b4e84a2036a5e53a3334b3e024afb8 (patch)
tree7cd3f29fb48156b0c89d43779572310fa4a946bf /distrib/amiga/floppies/list2sh.awk
parentcad1e2a8a2b9b0cee92dc24f369d566cdd1b661b (diff)
Remove obsolete junk
Diffstat (limited to 'distrib/amiga/floppies/list2sh.awk')
-rw-r--r--distrib/amiga/floppies/list2sh.awk39
1 files changed, 0 insertions, 39 deletions
diff --git a/distrib/amiga/floppies/list2sh.awk b/distrib/amiga/floppies/list2sh.awk
deleted file mode 100644
index 1d0a0535fc7..00000000000
--- a/distrib/amiga/floppies/list2sh.awk
+++ /dev/null
@@ -1,39 +0,0 @@
-# $OpenBSD: list2sh.awk,v 1.2 1996/04/25 02:35:47 mickey Exp $
-
-BEGIN {
- printf("cd ${CURDIR}\n");
- printf("\n");
-}
-/^$/ || /^#/ {
- print $0;
- next;
-}
-$1 == "COPY" {
- printf("echo '%s'\n", $0);
- printf("cp %s ${TARGDIR}/%s\n", $2, $3);
- next;
-}
-$1 == "LINK" {
- printf("echo '%s'\n", $0);
- printf("(cd ${TARGDIR}; ln %s %s)\n", $2, $3);
- next;
-}
-$1 == "SPECIAL" {
- printf("echo '%s'\n", $0);
- printf("(cd ${TARGDIR};");
- for (i = 2; i <= NF; i++)
- printf(" %s", $i);
- printf(")\n");
- next;
-}
-{
- printf("echo '%s'\n", $0);
- printf("echo 'Unknown keyword \"%s\" at line %d of input.'\n", $1, NR);
- printf("exit 1\n");
- exit 1;
-}
-END {
- printf("\n");
- printf("exit 0\n");
- exit 0;
-}