6. Make the scripts look for user and node_default files if there isn't a
[spider.git] / cmd / blank.pl
diff --git a/cmd/blank.pl b/cmd/blank.pl
new file mode 100644 (file)
index 0000000..7107f2d
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# Print n blank lines
+#
+# Copyright (c) 1998 Dirk Koopman G1TLH
+#
+# $Id$
+#
+
+my ($self, $line) = @_;
+my ($lines) = $line =~ /^\s*(\d+)/;
+$lines ||= 1;
+my @out;
+push @out, ' ' for (1..$lines);
+return (1, @out);