[dev] Re: [dmenu] dmenu_run improvements

From: Christian Neukirchen <chneukirchen_AT_gmail.com>
Date: Sun, 24 Jul 2011 16:08:12 +0200

anonymous <p37sitdu_AT_lavabit.com> writes:

> On Sun, Jul 24, 2011 at 02:34:22PM +0800, lolilolicon wrote:
>> > unset IFS
>> >
>> > cmd=$(dmenu "$@" < "$CACHE") && eval exec "$cmd"
>> Yeah, I see you just hate backticks :P
>>
>
> There is a difference:
>
> % echo `echo '\\'`
> \
> % echo $(echo '\\')
> \\

That must be a bashism, can't reproduce in dash, mksh, zsh.

-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org
Received on Sun Jul 24 2011 - 16:08:12 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 24 2011 - 16:12:04 CEST