Commit 52193ec
committed
feat: implement script command
Configure command line parsing.
Implemented `chcpu`.
mcookie: fix "unused import" warning in test
lslocks: add missing #[cfg(target_os = "linux")]
build.rs: remove coreutils stuff
chore(Cargo.toml): update edition from 2021 to 2024 to leverage new features and improvements
style(script.rs): reorder imports for better readability and consistency
fix(script.rs): update deprecation warning message formatting for clarity
chore(test_script.rs): remove unnecessary trailing whitespace for cleaner code
feat(script): add support for the `script` command on Linux systems
refactor(script): restructure code to improve readability and maintainability
fix(script): update error messages for clarity and consistency
test(script): add tests for various functionalities and edge cases in the script command
chore(script.rs): remove unnecessary empty line at the end of the file to maintain code cleanliness
fix(Cargo.toml): resolve merge conflicts and remove duplicate entries for syscall-numbers dependency
fix(chcpu.rs): clean up imports by removing unnecessary duplicate entries for clap crate
refactor(script.rs): move uumain function implementation to reduce code duplication and improve maintainability
style(Cargo.toml): adjust formatting for alignment and consistency in dependency declarations to enhance readability
refactor(script.rs): move uumain function to the correct location for better organization and readability
chore(script.rs): remove deprecated code related to the -t option to clean up the codebase and improve maintainability
refactor(script.rs): consolidate platform-specific code under a single module for better organization and maintainability
feat(script.rs): implement command line argument parsing in the run function to enhance script execution flexibility
chore(script.rs): remove unnecessary empty line at the end of the file to maintain code cleanliness1 parent cd747e8 commit 52193ec
File tree
8 files changed
+1002
-23
lines changed- src/uu/script
- src
- tests
- by-util
8 files changed
+1002
-23
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments