aboutsummaryrefslogtreecommitdiff
path: root/swenu-path
diff options
context:
space:
mode:
authorRiley Beckett <rbeckettvt@gmail.com>2025-10-19 22:59:07 -0400
committerRiley Beckett <rbeckettvt@gmail.com>2025-10-19 22:59:07 -0400
commit6e6830eabed6ee8a38bebfa677dc3eaee322ec6c (patch)
treeec77a697bb88a9ed04d74be3e1596cb2a553ba17 /swenu-path
parenta3edeef3d506d3a498c727fc4ba96cfa99673622 (diff)
oops forgot these
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