On 07/24/11 at 01:34am, Dave Reisner wrote:
> #!/bin/sh
>
> CACHE=${XDG_CACHE_HOME:-"$HOME/.cache"}/dmenu_run
> IFS=:
> LC_COLLLATE=C
You got a typo here: LC_COLLATE
>
> gencache() {
> lsx $PATH | sort -u >"$CACHE"
> }
Since LC_COLLATE is only used for sort, we might as well just use:
LC_CO
On Sun, Jul 24, 2011 at 12:35:19PM +0800, lolilolicon wrote:
> dmenu_run doesn't really run the user input as a shell command line.
> For instance, run dmenu_run from a terminal, then in the menu type:
>
> echo hello\ world
>
> The terminal output is "hello\ world" instead of "hello world".
>
dmenu_run doesn't really run the user input as a shell command line.
For instance, run dmenu_run from a terminal, then in the menu type:
echo hello\ world
The terminal output is "hello\ world" instead of "hello world".
`eval' solves the problem, but when it comes to eval, I can't really
be sur