]> git.mdlowis.com Git - projs/tide.git/commitdiff
added helper scripts
authorMichael D. Lowis <mike.lowis@gentex.com>
Tue, 15 Oct 2019 20:00:59 +0000 (16:00 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Tue, 15 Oct 2019 20:00:59 +0000 (16:00 -0400)
bin/w+ [new file with mode: 0755]
bin/x+ [new file with mode: 0755]
bin/xman [new file with mode: 0755]

diff --git a/bin/w+ b/bin/w+
new file mode 100755 (executable)
index 0000000..c4867a4
--- /dev/null
+++ b/bin/w+
@@ -0,0 +1,2 @@
+#!/bin/sh
+chmod +w "$file"
\ No newline at end of file
diff --git a/bin/x+ b/bin/x+
new file mode 100755 (executable)
index 0000000..0ff7733
--- /dev/null
+++ b/bin/x+
@@ -0,0 +1,2 @@
+#!/bin/sh
+chmod +x "$file"
\ No newline at end of file
diff --git a/bin/xman b/bin/xman
new file mode 100755 (executable)
index 0000000..38677b7
--- /dev/null
+++ b/bin/xman
@@ -0,0 +1,7 @@
+#!/bin/bash
+mandir=$(mktemp -d "${TMPDIR:-/tmp/}man.XXXXXXXXXXXX")
+man -Pcat "$1" > "$mandir/$1"
+{
+    tide "$mandir/$1" & disown
+} &> /dev/null
+