[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.
From: |
Nicolas Goaziou |
Subject: |
Re: [O] * [[shell:cat ~/tmp | grep "asdf :: "]] does not work. |
Date: |
Wed, 24 Feb 2016 18:38:09 +0100 |
Hello,
Josef Atmin <address@hidden> writes:
>> when a shell command in an unnumbered list includes '::', it is not
>> recognized as a shell
>> command anymore.
>>
>> To reproduce the bug, paste the following two lines in file 'tmp'
>>
>> asdf :: asdf
>> asdf :: qwer
>>
>> and add the following shell commands to an org file
>>
>> * [[shell:cat ~/tmp | grep "asdf :"]]
>> * [[shell:cat ~/tmp | grep "asdf ::"]]
>> * [[shell:cat ~/tmp | grep "asdf :: "]]
>>
>> If you klick on them you will probably find that the first two work while
>> the last one
>> does not, presumably because it is interpreted as a description list entry.
>> Interestingly, if you use a numbered list
>>
>> 1. [[shell:cat ~/tmp | grep "asdf :"]]
>> 2. [[shell:cat ~/tmp | grep "asdf ::"]]
>> 3. [[shell:cat ~/tmp | grep "asdf :: "]]
>>
>> then all three work.
This is not a bug. - .... :: *is* description list syntax, no matter how
you look at it. You can easily work around this, e.g., by starting the
link on the next line.
Regards,
--
Nicolas Goaziou