aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-20 13:35:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-20 13:35:22 +1200
commit267bcc9dc9ed7f59430d811da472a6da29c7e5e2 (patch)
tree0217ac12ae1e291f53b3ba8419675cbb581a08ee /man
parentAllow aliases, just don't use them (diff)
downloaddotfiles-267bcc9dc9ed7f59430d811da472a6da29c7e5e2.tar.gz
dotfiles-267bcc9dc9ed7f59430d811da472a6da29c7e5e2.zip
Add mex(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/mex.1df22
1 files changed, 22 insertions, 0 deletions
diff --git a/man/man1/mex.1df b/man/man1/mex.1df
new file mode 100644
index 00000000..0fa584da
--- /dev/null
+++ b/man/man1/mex.1df
@@ -0,0 +1,22 @@
+.TH MEX 1df "September 2016" "Manual page for mex"
+.SH NAME
+.B mex
+\- make first instance of filenames in $PATH executable
+.SH USAGE
+.B mex
+name
+.br
+.B mex
+name1 name2 name3
+.br
+PATH=/foo:/bar/baz
+name
+.SH DESCRIPTION
+Iterate through the contents of the PATH variable looking for files with any of
+the specified names that do not have the executable permissions bit set, and
+try to set it if found. Exit nonzero if any of the names were not found, or if
+any of the permissions changes failed.
+.SH SEE ALSO
+chmod(1), eds(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>