Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-13 | Utilities/grep: Implement using multiple patterns | Tim Schumacher | |
2021-11-12 | Utilities/grep: Implement line-counting mode | Tim Schumacher | |
2021-11-08 | LibRegex: Don't push LibRegex's "Error" into the global namespace | Andreas Kling | |
2021-11-06 | grep: Add ability to output line numbers | Ben Wiederhake | |
2021-11-06 | grep: Simplify lambda signature for readability | Ben Wiederhake | |
Those 'optional' arguments are always supplied anyway. Making them compulsory means there's one thing fewer to keep track of. | |||
2021-10-31 | Utilities: Add option to suppress errors to grep | Marco Cutecchia | |
2021-10-31 | Utilities: Add 'quiet' mode to grep | Marco Cutecchia | |
2021-09-07 | Everywhere: Behaviour => Behavior | Andreas Kling | |
2021-09-04 | Utilities: Support grepping recursively from paths in the argument | Karol Kosek | |
Previously, the recursive flag always searched for file contents from the current directory, ignoring the path argument entirely. | |||
2021-08-12 | Utilities: Add option to control when to use colored output for grep | TheFightingCatfish | |
Fixes #9351. | |||
2021-07-10 | grep: Use Basic POSIX regexps by default and make -E not the default | Ali Mohammad Pur | |
2021-07-04 | Everywhere: Prefer using "..."sv over StringView { "..." } | Gunnar Beutner | |
2021-06-14 | Userland: Fix double line spacing in grep | Sahan Fernando | |
2021-06-01 | Userland: Replace most printf-style APIs with AK::Format APIs :^) | Linus Groh | |
2021-05-20 | Utilities: Fix grep match when reading from stdin | r-paiva | |
When reading from stdin, grep discards the last character, even if that character is not \n. This commit changes grep to no longer discard the last character from a line. | |||
2021-05-17 | Utilities: Correct non-standard assert macros includes | Jean-Baptiste Boric | |
2021-05-12 | LibCore+Everywhere: Move OpenMode out of IODevice | Ali Mohammad Pur | |
...and make it an enum class so people don't omit "OpenMode". | |||
2021-04-22 | Everything: Move to SPDX license identifiers in all files. | Brian Gianforcaro | |
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt * | |||
2021-02-23 | Everywhere: Rename ASSERT => VERIFY | Andreas Kling | |
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT. | |||
2021-02-15 | grep: Exit with 1 if nothing matches | AnotherTest | |
2021-01-25 | Userland: Implement grep -v (invert-match) | Andrew Kaster | |
This will make grep output every line that doesn't have any matches of the given regular expression | |||
2021-01-25 | Userland: Use getline instead of Core::File::standard_input in grep | Andrew Kaster | |
Core::IODevice (which Core::File inherits from) does not have a reasonable way to block for a line. grep was spinning on IODevice::read_line, passing endless empty strings to the matcher lambda. Use getline instead, which will at least block in the Kernel for characters to be available on stdin and only return full lines (or eof) | |||
2021-01-12 | Userland: Move command-line utilities to Userland/Utilities/ | Andreas Kling | |