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