Skip to content

Commit 83e6989

Browse files
committed
merge
2 parents a7e977e + 9f2d066 commit 83e6989

File tree

370 files changed

+10070
-2098
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

370 files changed

+10070
-2098
lines changed

Cargo.lock

Lines changed: 0 additions & 1923 deletions
This file was deleted.

Cargo.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ members = [
99
"file",
1010
"fs",
1111
"make",
12+
"m4",
13+
"m4/test-manager",
14+
"gettext-rs",
1215
"misc",
1316
"pathnames",
1417
"plib",
@@ -19,13 +22,14 @@ members = [
1922
"text",
2023
"tree",
2124
"users",
22-
"xform"
25+
"xform",
26+
"i18n"
2327
]
2428

2529
[workspace.dependencies]
2630
atty = "0.2"
27-
clap = { version = "4", default-features = false, features = ["std", "derive", "help", "usage"] }
31+
clap = { version = "4", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "cargo"] }
2832
chrono = { version = "0.4", default-features = false, features = ["clock"] }
29-
gettext-rs = { version = "0.7", features = ["gettext-system"] }
3033
libc = "0.2"
3134
regex = "1.10"
35+
gettext-rs = { path = "./gettext-rs" }

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ normal Rust programs."
1616

1717
## WANTED: Volunteers!
1818

19-
Contributions are welcome. Developers and non-developers alike, please read [CONTRIBUTING](CONTRIBUTING.md) for details.
19+
Contributions are welcome. Developers and non-developers alike, please read [CONTRIBUTING](CONTRIBUTING.md) for details, and [WANTED](WANTED.md) for recommended coding tasks for newcomers.
2020

2121
Core specification: https://pubs.opengroup.org/onlinepubs/9699919799/
2222

@@ -75,10 +75,13 @@ Because it is a FAQ, the major differences between this project and uutils are:
7575
- [x] file
7676
- [x] find
7777
- [x] fold
78+
- [x] gencat (i18n)
7879
- [x] grep
7980
- [x] head
81+
- [x] join
8082
- [x] link
8183
- [x] ls
84+
- [x] m4
8285
- [x] mkdir
8386
- [x] mv
8487
- [x] nl
@@ -94,6 +97,7 @@ Because it is a FAQ, the major differences between this project and uutils are:
9497
- [x] strings
9598
- [x] strip (Development)
9699
- [x] tail
100+
- [x] time
97101
- [x] tr
98102
- [x] true
99103
- [x] uncompress (compress cat.)
@@ -145,6 +149,8 @@ Because it is a FAQ, the major differences between this project and uutils are:
145149
- [x] kill
146150
- [x] logger
147151
- [x] printf
152+
- [x] ps
153+
- [x] realpath
148154
- [x] stty
149155
- [x] tabs
150156
- [x] test
@@ -180,7 +186,6 @@ Because it is a FAQ, the major differences between this project and uutils are:
180186
- [ ] val (SCCS)
181187

182188
### i18n category
183-
- [ ] gencat (i18n)
184189
- [ ] gettext (i18n)
185190
- [ ] iconv (i18n)
186191
- [ ] locale (i18n)
@@ -202,22 +207,17 @@ Because it is a FAQ, the major differences between this project and uutils are:
202207
### Misc. category
203208
- [ ] awk
204209
- [ ] fuser
205-
- [ ] join
206210
- [ ] lp
207-
- [ ] m4
208211
- [ ] mailx
209212
- [ ] make
210213
- [ ] man
211214
- [ ] more
212215
- [ ] newgrp
213216
- [ ] patch
214217
- [ ] pax
215-
- [ ] ps
216-
- [ ] realpath
217218
- [ ] sed
218219
- [ ] sh
219220
- [ ] talk
220-
- [ ] time
221221
- [ ] timeout
222222

223223
## Testing

TODO.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@
1616
filename: OS error message
1717
```
1818

19+
## Other items
20+
21+
The `find` test `find_mtime_test` is hardcoded to use a specific
22+
date offset. This was increased to 7000 days to temporarily avoid
23+
test failure. The test should be improved.
24+

WANTED.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Developers looking for a starting point for contributions to posixutils-rs may consider these categories of changes:
2+
* Fill in missing utilities listed in [README](README.md)
3+
* Upgrade an existing utility from stage N to stage N+1
4+
* Optimize an existing utility to use less memory, or increase performance
5+
* Reduce dependencies. Attempt to remove all usage of "heavy" deps such as rustix, nix or serde.
6+
* Improve build speed
7+
* Improve test speed
8+
* Find features that are not being tested, and add integration tests
9+
* Translate one or more utilities to a new language

calc/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "posixutils-calc"
3-
version = "0.1.12"
3+
version = "0.2.0"
44
edition = "2021"
55

66
[dependencies]
@@ -16,8 +16,8 @@ rustyline = { version = "14.0", default-features = false }
1616

1717
[[bin]]
1818
name = "expr"
19-
path = "src/expr.rs"
19+
path = "./expr.rs"
2020

2121
[[bin]]
2222
name = "bc"
23-
path = "src/bc.rs"
23+
path = "./bc.rs"
File renamed without changes.

0 commit comments

Comments
 (0)