Re: [dev] [dmenu] dmenu_run improvements

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Sun, 24 Jul 2011 09:40:12 +0100

On 24 July 2011 08:38, anonymous <p37sitdu_AT_lavabit.com> wrote:
> 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 '\\')
>    \\

Yes, but bash'isms are a NO GO in suckless.org shell scripts :)

Cheers,
Anselm
Received on Sun Jul 24 2011 - 10:40:12 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 24 2011 - 10:48:04 CEST