Add a comment to summarize what dplumb does. - plumb - Open certain URL patterns with an ad-hoc opener (plumber)
(HTM) hg clone https://bitbucket.org/iamleot/plumb
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset ae64dcee29fd8bcc2884ccfdb2fd010e14578ff4
(DIR) parent 8143da7a26e360bafae0ba1412a62d978378bbfa
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 25 Mar 2018 00:01:05
Add a comment to summarize what dplumb does.
Diffstat:
dplumb | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff -r 8143da7a26e3 -r ae64dcee29fd dplumb
--- a/dplumb Sat Mar 24 22:46:58 2018 +0100
+++ b/dplumb Sun Mar 25 00:01:05 2018 +0100
@@ -30,6 +30,16 @@
: ${PLUMB_DMENU:=dmenu -l 10}
+
+#
+# dplumb, dmenu interface for plumb
+#
+# - Put a word per line
+# - URL-ize patterns
+# - Get rid of possible delimiters in the URLs
+# - Pipe all URLs to ${PLUMB_DMENU}
+# - Invoke plumb against the selected entry
+#
plumb "$(
tr -s '[:space:]' '\n' |
sed \