lkml.org 
[lkml]   [2009]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/3] tracing/filters: disallow newline as delimeter

    * Li Zefan <lizf@cn.fujitsu.com> wrote:

    > Ingo Molnar wrote:
    > > * Li Zefan <lizf@cn.fujitsu.com> wrote:
    > >
    > >> I guess because user input is often ended with '\n' (like "echo
    > >> xxx"), thus '\n' is used as a delimeter besides ' ', but we can
    > >> just strip tailing spaces.
    > >
    > > Hm, how about:
    > >
    > > ( echo 'x'
    > > echo '|| y' ) > filter
    > >
    > > type of scripts? Shouldnt the parser be permissive in general?
    > >
    >
    > This patch doesn't forbid this usage: ;)
    >
    > ( echo 'parent_comm == a'
    > echo '|| parent_comm == b' ) > filter
    >
    > This patch does forbid this usage:
    >
    > ( echo 'parent_comm'
    > echo '=='
    > echo 'a' ) > filter

    Same argument though, no?

    Ingo


    \
     
     \ /
      Last update: 2009-04-21 12:09    [W:2.601 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site