optimize
This commit is contained in:
parent
e29180ba01
commit
fdd5f5050b
11
followtrail
11
followtrail
@ -1,11 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
for file in $(for path in $(printf '%s\n' "$PATH" | tr ':' "\n")
|
||||
do walk -n "$path"
|
||||
done)
|
||||
do scrut -d "$file" \
|
||||
|| printf '%s\n' "$file"
|
||||
done \
|
||||
printf '%s\n' "$PATH" \
|
||||
| tr : "\n" \
|
||||
| sort \
|
||||
| uniq \
|
||||
| parallel walk -n \
|
||||
| sed 's:.*\/::' \
|
||||
| sort \
|
||||
| uniq
|
||||
|
Loading…
Reference in New Issue
Block a user