diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-06-16 22:10:24 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-17 15:02:03 +0200 |
commit | c39045b222fc85c7d7428537a453684b9cf8fd81 (patch) | |
tree | 54a38ddab08b4ca83e75354cfdbcec7ed3739cd0 /Base | |
parent | 6fcce077bb849e780aa587ad8f6b52f85ccf9be0 (diff) | |
download | serenity-c39045b222fc85c7d7428537a453684b9cf8fd81.zip |
Userland: Improve cat(1)
* Port it to Core::ArgsParser - even though it doesn't support any options
at the moment, it's nice to handle --help and reject other options;
* Accept "-" to mean stdin;
* Make sure to write out all data that we read, looping if needed;
* Detect Useless Uses of Cat and print a cute warning :^)
Diffstat (limited to 'Base')
0 files changed, 0 insertions, 0 deletions