• # `rg -M 69 foo`

    Posté par . En réponse au message grepLittleLine.sh. Évalué à 2.

    ripgrep a l'option -M nn pour cela:

     -M NUM, --max-columns=NUM
     When given, ripgrep will omit lines longer than this limit in bytes.
     Instead of printing long lines, only the number of matches in that line
     is printed.