Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#57 tv_grep: --not

none
closed
nobody
tv_grep (1)
5
2014-04-23
2006-05-18
Thomas Gilgin
No

A --not option would be nice for tv_grep. Or is there a
workaround?

Discussion

  • Nick Morrott
    Nick Morrott
    2010-03-09

    • labels: --> tv_grep
     
  • The option may be better called '-v' to match grep, or '-v' could just be a synonym for '--not'.
    There's '--video' but presumably none of these options have a short form so the risk of confusion should be minimal.

     
  • Geoff
    Geoff
    2014-04-23

    A '--not' option already exists but isn't publicized.

    This works on a per-expression basis. So you can do things like

    tv_grep -i --not --category drama --not --category film  input.xml
    
    tv_grep -i --category sport --and --not --category news  input.xml
    
     
  • Geoff
    Geoff
    2014-04-23

    • status: open --> closed
    • Group: --> none