Adding automatic man page creation scripts (needs GNU help2man).

Adjusting 'eos' --help & --version option and license printout.
Restricting execution of eos script files to file names like <x>.eosh to avoid conflicts between shell commands and script file names!
Allowing 'fs add' for non-root users (if sss authenticated). Removing XRD client DEBUG flag from xrdmqdumper.
Moving to 'rc'16' in spec file.
parent 5d17babb
#!/usr/bin/perl
print "[COMMANDS]\n";
open FIN, "eos help |";
while ( <FIN> ) {
chomp $_;
my @args = split (" ", $_, 2);
printf ".in 10\n.B $args[0]\n.in 30\n- $args[1] ( man \n.I eos::$args[0] ) \n.br\n";
}
close IN;
#!/bin/bash
###########################
# create the EOS man pages
###########################
rm -rf man1 >& /dev/null
mkdir man1
# create eos command include file
./create_eos_cmds.pl > eos.cmds
help2man --include eos.cmds --no-discard-stderr --help-option="-h " --no-info eos > man1/eos.1
gzip man1/eos.1
for name in `eos -b help | awk '{print$1}' |grep -v '?' | grep -v '.q' | grep -v 'test' `; do
help2man --name "eos $name" --no-discard-stderr --help-option="$name -h " --no-info eos > man1/eos::$name.1
gzip man1/eos::$name.1
done
unlink eos.cmds
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment