summaryrefslogtreecommitdiff
path: root/Userland/Utilities/wc.cpp
AgeCommit message (Collapse)Author
2023-04-22Utilities: Replace ctype.h usage with AK/CharacterTypes.hSam Atkins
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-04-11Utilities: Read positional arguments as Strings not char*sSam Atkins
This is a pretty trivial change so they're all batched together.
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-01-04wc: Port to LibMainmjz19910
2021-10-31Revert "wc: Count last line even if it doesn't end in newline"Andreas Kling
This reverts commit f356c4ab915da052d17b7e5d2ffb5d1a695c95f0. According to Dr. POSIX, `wc -l` should print the number of *newlines* in the input.
2021-10-29wc: Count last line even if it doesn't end in newlineRodrigo Tobar
2021-04-22Everything: 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-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
Good-bye LogStream. Long live AK::Format!
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling