LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

a feature i would like to see added to grep

Posted 10-28-2022 at 07:20 PM by Skaperen
Tags grep

a feature i would like to see added to the grep family of commands (that is, to all of them) is the ability to specify a limit of how much of the file to scan for matching patterns/expressions. this would not be like the -m NUM/--max-count=NUM option, which counts what is actually matched. the limit i want to also see is effectively a limit of the size of the file. after this much of the file has been read, grep should behave as if the file ended. this would be the number of bytes unless the...
Senior Member
Posted in Uncategorized
Views 105 Comments 1 Skaperen is offline

  



All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration