lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, 2021-02-07 at 23:45 +0000, Andrew Gierth wrote:
> > > > > 
> No it doesn't, it turns into:
> 
> otfinfo -p 'somefile\'\'';rm -rf /*;echo \'\'''
> 
> Note that \ is not an escape character inside '...' so this is
> correct.
> 
> Perhaps you misunderstood what the [[ ]] do, you certainly didn't try
> running the actual code.

Oops, my bad - I've misunderstood how shell matches tick braces (and
still a little confused about that as of right now, actually).
-- 
v <v19930312@gmail.com>