Commit aa72c75
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 cleanliness
fix(script.rs): correct the type casting of TIOCSCTTY in ioctl call to match expected type and prevent potential issues1 parent 9f24cd1 commit aa72c75
File tree
8 files changed
+981
-3
lines changed- src/uu/script
- src
- tests
- by-util
8 files changed
+981
-3
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 | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| |||
| 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