aboutsummaryrefslogtreecommitdiff
path: root/swenu-path
diff options
context:
space:
mode:
Diffstat (limited to 'swenu-path')
-rwxr-xr-xswenu-path6
1 files changed, 6 insertions, 0 deletions
diff --git a/swenu-path b/swenu-path
new file mode 100755
index 0000000..a720d5c
--- /dev/null
+++ b/swenu-path
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+IFS=:
+for dir in $PATH; do
+ [ -e ${dir} ] && find ${dir} -executable -printf '%f\n'
+done | sort -u