aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-04-21 17:17:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-04-21 17:17:57 +1200
commitd06b05229616899e22f5bbfa2caca14ff60b704e (patch)
tree23d082a03db94cd5bd526783e40b245a7d0ffaf5 /bin
parentAdd brief comment to top of quo.sed (diff)
downloaddotfiles-d06b05229616899e22f5bbfa2caca14ff60b704e.tar.gz
dotfiles-d06b05229616899e22f5bbfa2caca14ff60b704e.zip
Add some missing leading comments
Diffstat (limited to 'bin')
-rw-r--r--bin/dmp.sh1
-rw-r--r--bin/hms.awk1
-rw-r--r--bin/jfcd.sh1
-rw-r--r--bin/pit.sh1
-rw-r--r--bin/plmu.sh1
-rw-r--r--bin/rfcf.sh1
-rw-r--r--bin/rfcr.sh1
7 files changed, 6 insertions, 1 deletions
diff --git a/bin/dmp.sh b/bin/dmp.sh
index ea79214f..ab09c20e 100644
--- a/bin/dmp.sh
+++ b/bin/dmp.sh
@@ -1,3 +1,4 @@
+# Pick a pass(1) password with dmenu(1)
# Get the password store directory, bail if we can't
pwsd=${PASSWORD_STORE_DIR:-"$HOME"/.password-store}
diff --git a/bin/hms.awk b/bin/hms.awk
index 3a9a1499..3054db44 100644
--- a/bin/hms.awk
+++ b/bin/hms.awk
@@ -1,3 +1,4 @@
+# Convert seconds to colon-delimited durations
BEGIN {
OFS = ":"
}
diff --git a/bin/jfcd.sh b/bin/jfcd.sh
index bf059883..25bf03fd 100644
--- a/bin/jfcd.sh
+++ b/bin/jfcd.sh
@@ -1,4 +1,3 @@
-
# Watch a directory for changes and commit them with jfc(1d) if there are any;
# requires inotifywait(1)
self=jfcd
diff --git a/bin/pit.sh b/bin/pit.sh
index 377c1927..418732d0 100644
--- a/bin/pit.sh
+++ b/bin/pit.sh
@@ -1,3 +1,4 @@
+# Show arguments or output in a pager if stdout looks like a terminal
# If no arguments, we'll use stdin
if [ "$#" -eq 0 ] ; then
diff --git a/bin/plmu.sh b/bin/plmu.sh
index d6f163e6..b6a500ac 100644
--- a/bin/plmu.sh
+++ b/bin/plmu.sh
@@ -1,3 +1,4 @@
+# Upgrade plenv modules with cpanm(1)
# Set up exceptions file if it exists
ef=$HOME/.plenv/non-cpanm-modules
diff --git a/bin/rfcf.sh b/bin/rfcf.sh
index 36b1a4c4..214f4e64 100644
--- a/bin/rfcf.sh
+++ b/bin/rfcf.sh
@@ -1,3 +1,4 @@
+# Fetch an RFC from the IETF site and write it to stdout
# Check arguments
if [ "$#" -ne 1 ] ; then
diff --git a/bin/rfcr.sh b/bin/rfcr.sh
index 860ae53d..30954154 100644
--- a/bin/rfcr.sh
+++ b/bin/rfcr.sh
@@ -1,3 +1,4 @@
+# Fetch and format an RFC from the IETF website and view it on a terminal
# Check arguments
if [ "$#" -ne 1 ] ; then