cal: Add tool

This supports most of the important flags and gives bit-exact output
except for spacing in the header line.
This commit is contained in:
Tuomas Tynkkynen
2025-09-12 23:25:05 +03:00
parent 02901b2db6
commit f9340c3bdc
8 changed files with 591 additions and 0 deletions

10
Cargo.lock generated
View File

@@ -1316,6 +1316,7 @@ dependencies = [
"tempfile",
"textwrap",
"uu_blockdev",
"uu_cal",
"uu_chcpu",
"uu_ctrlaltdel",
"uu_dmesg",
@@ -1351,6 +1352,15 @@ dependencies = [
"uucore",
]
[[package]]
name = "uu_cal"
version = "0.0.1"
dependencies = [
"chrono",
"clap",
"uucore",
]
[[package]]
name = "uu_chcpu"
version = "0.0.1"