rustcoreutils / posixutils-rs Goto Github PK
View Code? Open in Web Editor NEWCore POSIX command line utilities in safe Rust
License: MIT License
Core POSIX command line utilities in safe Rust
License: MIT License
Soliciting discussion over the localization (i18n) strategy for this project.
The goal is complete localization of all messages visible to the user, within the bounds of POSIX compliance:
clap
crate)io::Result
)To be forward-looking, this project looks for opportunities to
This project should aggressively interpret the POSIX standards in terms of UTF-8 support, and look for opportunities to create default-UTF-8 operating modes, with a fallback mode that is "POSIX-ly correct."
The current strategies are,
gettext
crate, and mark strings with gettext()
. This provides a starting point for per-util coding, and at least gets us started on the road to i18n. bind_textdomain_codeset(PROJECT_NAME, "UTF-8")?;
At present, OS error messages and --help are not translated at all, and need a project-wide strategy.
Also, one idea that is aligned with the gencat
util is to generate catgets message catalogs and abandon gettext. This works because catgets exists on all modern platforms.
See issue #65 for util-related tasks.
Feedback and thoughts are requested. We want to give users the best i18n support possible.
Implement UUCP related utilities:
Resources:
Implement SCCS utilities:
Implement development utilities:
Implement cron and batch-related utilities:
Implement system and process utils:
The rmdir
utility found in tree/src/rmdir.rs lacks integration tests.
Create a new set of integration tests in tree/tests/rmdir-tests.rs. Test both with and without -p. Ensure negative tests exist, testing failure conditions, as well as positive tests. Test with zero, one and multiple pathnames on the command line. Verify that the utility CLI exit code is POSIX compliant and correct in all cases.
Implement file and text utilities:
User-facing apps category:
Implement awk. Specification: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html
Implement i18n, charset, locale utils:
Implement editors:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.