Loading ...
Sorry, an error occurred while loading the content.

136560Re: Search Patterns

Expand Messages
  • Christian Brabandt
    Feb 28, 2013
    • 0 Attachment
      Hi Frédéric!

      On Do, 28 Feb 2013, Frédéric Heulin wrote:

      > As Christian suggested, removing the colors escaped sequences from the source may be simplier. For grep, just append \ : cmd | \grep pattern > file

      It might be easier to set the grep alias apropriately. It sounds, the
      grep alias appends the --color=always which in this case causes the
      problem. You probably want rather --color=auto so that grep does not
      color output, that is not displayed on a terminal.

      regards,
      Christian
      --
      Mit der Liebelei ist es wie mit der Elektrizität: erst Starkstrom,
      dann Schwachstrom, zuletzt Wechselstrom.
      -- Jaques Tati

      --
      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 5 messages in this topic