num-out-cmp.pl: Remove unused script.
[pspp] / doc / get-commands.pl
index 68a53b940d11c073adf750e54a08f797aeaa20dc..7d5ac4534b5c215c625fb63323ef674e6bfd2090 100755 (executable)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
-# Creates Texinfo documentation from the source 
+# Creates Texinfo documentation from the source
 
 use strict;
 use warnings 'all';
 
-my ($file) = $ARGV[0]; 
-open(INFO, $file) || die "Cannot open \"$file\"\n" ;   
+my ($file) = $ARGV[0];
+open(INFO, $file) || die "Cannot open \"$file\"\n" ;
 print "\@c Generated from $file by get-commands.pl\n";
 print "\@c Do not modify!\n\n";
 
@@ -15,7 +15,7 @@ while (<INFO>)
     my ($command, $description)
       = /^\s*UNIMPL_CMD\s*\(\s*"([^"]*)"\s*,\s*"([^"]*)"\)\s*$/
        or next;
-    print "\@item $command\n$description\n\n";
+    print "\@item \@cmd{$command}\n$description\n\n";
 }
 print "\@end table\n";