projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
cmd/blank.pl
@@ -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);