aboutsummaryrefslogtreecommitdiff
path: root/man/man1/sls.1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-22 10:13:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-22 10:13:10 +1200
commitc83042d6701f275bd792fb15c889e780deddb14a (patch)
treecc6f6615267ce1ce8aae52e59477d8cea4dd8e73 /man/man1/sls.1
parentRemove reference to GitHub dotfiles pages (diff)
downloaddotfiles-c83042d6701f275bd792fb15c889e780deddb14a.tar.gz
dotfiles-c83042d6701f275bd792fb15c889e780deddb14a.zip
Rename binscripts more tersely
Diffstat (limited to 'man/man1/sls.1')
-rw-r--r--man/man1/sls.117
1 files changed, 17 insertions, 0 deletions
diff --git a/man/man1/sls.1 b/man/man1/sls.1
new file mode 100644
index 00000000..691c6abb
--- /dev/null
+++ b/man/man1/sls.1
@@ -0,0 +1,17 @@
+.TH SLS 1 "May 2014" "Manual page for sls"
+.SH NAME
+.B sls
+\- list the first hostname on each line of an ssh_config(5) file
+.SH SYNOPSIS
+.B sls
+.I [SSH_CONFIG]
+.SH DESCRIPTION
+.B sls
+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
+sra(1).
+.SH SEE ALSO
+sra(1), sta(1), ssh(1), ssh_config(5)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>