summaryrefslogtreecommitdiff
path: root/Userland/Utilities/head.cpp
AgeCommit message (Collapse)Author
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-03Utilities: Use default execpromises parameter to `pledge(..)`Brian Gianforcaro
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-01-14head: Port to LibMainLucas CHOLLET
2021-08-01Utilities: Remove unused header includesBrian Gianforcaro
2021-06-01Userland: Replace most printf-style APIs with AK::Format APIs :^)Linus Groh
2021-05-04Userland: Refactor head(1) to not use stdioSergey Bugaev
This fixes extensive copying data around, and also makes head(1) in bytes mode read exactly as much data as it needs. Also, rename --characters to --bytes: that's exactly what it does (actual character counting is way more complicated), and that's what the option is called in GNU coreutils. Fixes https://github.com/SerenityOS/serenity/issues/6852
2021-04-29Everywhere: "file name" => "filename"Andreas Kling
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