From: djk <djk>
Date: Fri, 13 Nov 1998 18:43:11 +0000 (+0000)
Subject: added load bands
X-Git-Tag: SPIDER_1_5~13
X-Git-Url: http://dxspider.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=07e07de14eea115273999b9706b591b586e88479;p=spider.git

added load bands
---

diff --git a/cmd/load/bands.pl b/cmd/load/bands.pl
new file mode 100644
index 00000000..cd184f68
--- /dev/null
+++ b/cmd/load/bands.pl
@@ -0,0 +1,8 @@
+#
+# load the bands  file after changing it
+#
+my $self = shift;
+return (0, $self->msg('e5')) if $self->priv < 9;
+my @out = Bands::load($self);
+@out = ($self->msg('ok')) if !@out;
+return (1, @out);