github Genivia/ugrep v6.4.0
ugrep v6.4

latest releases: v6.5.0, v6.4.1
one month ago

What's new?

  • new custom output format fields for options --format and --replace #414:
    %A          byte range in hex of match
    %l          last line number of match
    %L          number of lines of a match
    %R          newline, if --break
    %[hhhh]U    U+hhhh Unicode code point
    %y          matching pattern as hex
    %Y          matching line as hex
    %[ms]=...%= color of ms ... color off
    %[n]j       nth capture as JSON
    %[n]q       nth capture quoted
    %[n]x       nth capture as XML
    %[n]y       nth capture as hex
    %[n]v       nth capture as CSV
    %[name]j    named capture as JSON
    %[name]q    named capture quoted
    %[name]x    named capture as XML
    %[name]y    named capture as hex
    %[name]v    named capture as CSV
    %[n|...]j   capture n,... as JSON
    %[n|...]q   capture n,... quoted
    %[n|...]x   capture n,... as XML
    %[n|...]y   capture n,... as hex
    %[n|...]v   capture n,... as CSV
    
    • numeric fields such as %n are padded with spaces when %{width}n is specified with a numeric width > 0
    • matching line fields such as %O are cut to width when %{width}O is specified or when %{-width}O is specified to cut from the end of the line
    • character context on a matching line before or after a match is output when %{-width}o or %{+width}o is specified for match fields such as %o, where %{width}o without a +/- sign cuts the match to the specified width
  • fix bash completions for key bindings #415

Don't miss a new ugrep release

NewReleases is sending notifications on new releases.