Tim Ledbetter
94b247ec3c
sort: Allow multi-character separators to be given with the -t
option
2023-08-27 15:42:46 -04:00
Tim Ledbetter
e6112446db
sort: Add the -z
option to split lines on \0
rather than a newline
2023-08-27 15:42:46 -04:00
Lucas CHOLLET
8c34959b53
AK: Add the Input
word to input-only buffered streams
...
This concerns both `BufferedSeekable` and `BufferedFile`.
2023-05-09 11:18:46 +02:00
Sam Atkins
0f95ff64ed
Utilities: Replace ctype.h usage with AK/CharacterTypes.h
2023-04-22 07:17:08 +02:00
Tim Ledbetter
0454d655bb
sort: Add an option to sort in reverse order
...
Lines can now be sorted in reverse order by specifying the `-r` option.
2023-03-13 07:53:24 +00:00
Tim Schumacher
874c7bba28
LibCore: Remove Stream.h
2023-02-13 00:50:07 +00:00
Tim Schumacher
606a3982f3
LibCore: Move Stream-based file into the Core
namespace
2023-02-13 00:50:07 +00:00
Peter Elliott
5efcec308a
Utilities: Rewrite sort(1) to be more posixy
2023-01-19 12:22:24 +01:00
Linus Groh
6e19ab2bbc
AK+Everywhere: Rename String to DeprecatedString
...
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-12-06 08:54:33 +01:00
Michel Hermier
395d9a2702
sort: Port to LibMain
2022-01-24 05:38:30 +00:00
Ralf Donau
4f0e2f2584
Utilities: Modernize output and comparison in the sort utility
...
Use the comparison operator of AK/String instead of strcmp(3) and
replace fput* by outln.
2021-09-05 00:15:26 +02:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
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-04-22 11:22:27 +02:00
Andreas Kling
ef1e5db1d0
Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)
...
Good-bye LogStream. Long live AK::Format!
2021-03-12 17:29:37 +01:00
Ben Wiederhake
9c8efcd17e
Userland: Fix broken newlines in 'sort'
2021-01-20 19:19:34 +01:00
Andreas Kling
ececac65c2
Userland: Move command-line utilities to Userland/Utilities/
2021-01-12 12:04:09 +01:00