aboutsummaryrefslogtreecommitdiff
path: root/man/man1/mex.1df
blob: 5c387594166008f331dcb0e121a1b2fc07eafd3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.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
.B mex
name
.SH DESCRIPTION
Iterate through the directories named in $PATH looking for files with any of
the specified names that do not have the executable permissions bit set, and
attempt to set them if any such files are 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>