Tako rzecze Rob Manea (w liƛcie z 2006-10-05, 10:18):

> The programm simply scans $PATH, extracts all files executable for the
> user running the programm and outputs those files to stdout.
> 
> Usage:
>           dmenu-input | dmenu
> 
> If you want it sorted:
> 
>           dmenu-input | sort -u | dmenu
> 
> 
> The small source file is attached to this message, just in case anyone
> may find it useful.

Looks useful. Did you try measuring how much faster (on a dry run) it is
than running any shell oneliner (like the one provided by arg or any
other one)?

You could also consider adding | uniq | to the pipe. Cuts the number of
entries by about 200 on my computer. But then -- might slow it down even
further. May not be worth it.

Cheers,

[a]

-- 
. Antoni Grzymala - antoni (at) chopin.edu.pl -------------------.
| OpenPGP KeyID EB315583 available now from a keyserver near you |
| Fingerprint A819 6D2E D5EB D9E0 D2D9  7AF6 2FAF 4A11 EB31 5583 |
`----------------------------------------------------------------'

Reply via email to