From 0d17ce7135284dde08558febb620e03d3e01923a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 1 Oct 2015 16:38:17 +1300 Subject: Move man pages into man1 subdir Going to make a man8 page shortly --- man/edda.1 | 30 ------------------------------ man/han.1 | 18 ------------------ man/man1/edda.1 | 30 ++++++++++++++++++++++++++++++ man/man1/han.1 | 18 ++++++++++++++++++ man/man1/scatter.1 | 16 ++++++++++++++++ man/man1/shoal.1 | 18 ++++++++++++++++++ man/man1/shock.1 | 17 +++++++++++++++++ man/scatter.1 | 16 ---------------- man/shoal.1 | 18 ------------------ man/shock.1 | 17 ----------------- 10 files changed, 99 insertions(+), 99 deletions(-) delete mode 100644 man/edda.1 delete mode 100644 man/han.1 create mode 100644 man/man1/edda.1 create mode 100644 man/man1/han.1 create mode 100644 man/man1/scatter.1 create mode 100644 man/man1/shoal.1 create mode 100644 man/man1/shock.1 delete mode 100644 man/scatter.1 delete mode 100644 man/shoal.1 delete mode 100644 man/shock.1 (limited to 'man') diff --git a/man/edda.1 b/man/edda.1 deleted file mode 100644 index 2a7ef501..00000000 --- a/man/edda.1 +++ /dev/null @@ -1,30 +0,0 @@ -.TH EDDA 1 "June 2015" "Manual page for edda" -.SH NAME -.B edda -\- run ed(1) over multiple files -.SH SYNOPSIS -.B edda [OPTS] [--] FILE1 [FILE2...] -.SH DESCRIPTION -Duplicate any data on stdin into a temporary file, and run ed(1) with any given -options over each of the files given as the remaining arguments. Example: -.P - $ edda -s /etc/app.d/*.conf < - diff --git a/man/han.1 b/man/han.1 deleted file mode 100644 index 8bb65be4..00000000 --- a/man/han.1 +++ /dev/null @@ -1,18 +0,0 @@ -.TH HAN 1 "May 2015" "Manual page for han" -.SH NAME -.B han -\- try running builtin help, then man(1) -.SH SYNOPSIS -.B han -.I (HELPTOPIC | MANARGS...) -.SH DESCRIPTION -If called with a single argument, try running the help builtin for the given -keyword, writing its output to a file. If it succeeds, show that. If not, pass -the call to man(1). -.P -This was written so it could be used as a 'keywordprg' in Vim for Bash files; -you can then use the K normal-mode binding over both shell builtins (e.g. read, -set, export) and external programs (e.g. cat(1), grep(1), ed(1)). -.SH AUTHOR -Tom Ryder - diff --git a/man/man1/edda.1 b/man/man1/edda.1 new file mode 100644 index 00000000..2a7ef501 --- /dev/null +++ b/man/man1/edda.1 @@ -0,0 +1,30 @@ +.TH EDDA 1 "June 2015" "Manual page for edda" +.SH NAME +.B edda +\- run ed(1) over multiple files +.SH SYNOPSIS +.B edda [OPTS] [--] FILE1 [FILE2...] +.SH DESCRIPTION +Duplicate any data on stdin into a temporary file, and run ed(1) with any given +options over each of the files given as the remaining arguments. Example: +.P + $ edda -s /etc/app.d/*.conf < + diff --git a/man/man1/han.1 b/man/man1/han.1 new file mode 100644 index 00000000..8bb65be4 --- /dev/null +++ b/man/man1/han.1 @@ -0,0 +1,18 @@ +.TH HAN 1 "May 2015" "Manual page for han" +.SH NAME +.B han +\- try running builtin help, then man(1) +.SH SYNOPSIS +.B han +.I (HELPTOPIC | MANARGS...) +.SH DESCRIPTION +If called with a single argument, try running the help builtin for the given +keyword, writing its output to a file. If it succeeds, show that. If not, pass +the call to man(1). +.P +This was written so it could be used as a 'keywordprg' in Vim for Bash files; +you can then use the K normal-mode binding over both shell builtins (e.g. read, +set, export) and external programs (e.g. cat(1), grep(1), ed(1)). +.SH AUTHOR +Tom Ryder + diff --git a/man/man1/scatter.1 b/man/man1/scatter.1 new file mode 100644 index 00000000..95addd23 --- /dev/null +++ b/man/man1/scatter.1 @@ -0,0 +1,16 @@ +.TH SCATTER 1 "May 2014" "Manual page for scatter" +.SH NAME +.B scatter +\- run a command on shoal(1) hosts +.SH SYNOPSIS +.B scatter +.I COMMAND +.SH DESCRIPTION +.B scatter +runs a nominated command on all the hosts returned by shoal(1), and prints the +hostname, stdout, and stderr for each call. +.SH SEE ALSO +shock(1), shoal(1) +.SH AUTHOR +Tom Ryder + diff --git a/man/man1/shoal.1 b/man/man1/shoal.1 new file mode 100644 index 00000000..2399f974 --- /dev/null +++ b/man/man1/shoal.1 @@ -0,0 +1,18 @@ +.TH SHOAL 1 "May 2014" "Manual page for shoal" +.SH NAME +.B shoal +\- list the first hostname on each line of an ssh_config(5) file +.SH SYNOPSIS +.B shoal +.I [SSH_CONFIG] +.SH DESCRIPTION +.B shoal +reads an ssh_config(5) file, defaulting to ~/.ssh/config, and returns a +newline-delimited list of the first of the hostnames on each Host line in the +file, ignoring all other lines. Suitable for use in batch scripts like +scatter(1). +.SH SEE ALSO +scatter(1), shock(1), ssh(1), ssh_config(5) +.SH AUTHOR +Tom Ryder + diff --git a/man/man1/shock.1 b/man/man1/shock.1 new file mode 100644 index 00000000..0b64d504 --- /dev/null +++ b/man/man1/shock.1 @@ -0,0 +1,17 @@ +.TH SHOCK 1 "May 2014" "Manual page for shock" +.SH NAME +.B shock +\- run a command on shoal(1) hosts and print the hostname if successful +.SH SYNOPSIS +.B shock +.I COMMAND +.SH DESCRIPTION +.B shock +runs a nominated command on all the hosts returned by shoal(1), and prints the +hostname if the command has an exit value of 0. The stdout from the commands is +discarded. +.SH SEE ALSO +scatter(1), shoal(1) +.SH AUTHOR +Tom Ryder + diff --git a/man/scatter.1 b/man/scatter.1 deleted file mode 100644 index 95addd23..00000000 --- a/man/scatter.1 +++ /dev/null @@ -1,16 +0,0 @@ -.TH SCATTER 1 "May 2014" "Manual page for scatter" -.SH NAME -.B scatter -\- run a command on shoal(1) hosts -.SH SYNOPSIS -.B scatter -.I COMMAND -.SH DESCRIPTION -.B scatter -runs a nominated command on all the hosts returned by shoal(1), and prints the -hostname, stdout, and stderr for each call. -.SH SEE ALSO -shock(1), shoal(1) -.SH AUTHOR -Tom Ryder - diff --git a/man/shoal.1 b/man/shoal.1 deleted file mode 100644 index 2399f974..00000000 --- a/man/shoal.1 +++ /dev/null @@ -1,18 +0,0 @@ -.TH SHOAL 1 "May 2014" "Manual page for shoal" -.SH NAME -.B shoal -\- list the first hostname on each line of an ssh_config(5) file -.SH SYNOPSIS -.B shoal -.I [SSH_CONFIG] -.SH DESCRIPTION -.B shoal -reads an ssh_config(5) file, defaulting to ~/.ssh/config, and returns a -newline-delimited list of the first of the hostnames on each Host line in the -file, ignoring all other lines. Suitable for use in batch scripts like -scatter(1). -.SH SEE ALSO -scatter(1), shock(1), ssh(1), ssh_config(5) -.SH AUTHOR -Tom Ryder - diff --git a/man/shock.1 b/man/shock.1 deleted file mode 100644 index 0b64d504..00000000 --- a/man/shock.1 +++ /dev/null @@ -1,17 +0,0 @@ -.TH SHOCK 1 "May 2014" "Manual page for shock" -.SH NAME -.B shock -\- run a command on shoal(1) hosts and print the hostname if successful -.SH SYNOPSIS -.B shock -.I COMMAND -.SH DESCRIPTION -.B shock -runs a nominated command on all the hosts returned by shoal(1), and prints the -hostname if the command has an exit value of 0. The stdout from the commands is -discarded. -.SH SEE ALSO -scatter(1), shoal(1) -.SH AUTHOR -Tom Ryder - -- cgit v1.2.3