| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2024-04-12 | 2.4 kB | |
| v2.5.4 source code.tar.gz | 2024-04-12 | 333.0 kB | |
| v2.5.4 source code.zip | 2024-04-12 | 353.3 kB | |
| Totals: 3 Items | 688.7 kB | 0 | |
âī¸ Features
- [
c]: ensure use command onPATH, and check the command existence onPATHđŖ - [
coat/taoc]: add--help/--versionoptions đŠ
đŦ Improvements
- [
find-in-jars]: addIFS=forread, more robust đĒ - file paths may contain leading spaces
- [
show-busy-java-threads]: - improve separator blank line output đ fix wrong blank line logic
- extract
timestampvar to avoid inconsistency âī¸ - use
${var##}instead ofbasenameđī¸ - faster, no subprocess fork
- use command
realpathinstead of functionportableReadLinkđ - faster and without losing portability
- use bash builtin
type -Pinstead ofwhichcommand, faster đ
đ ī¸ Refactor
- [
show-busy-java-threads]: rename global varUSER->WHOAMIđ¤ - [
uq]: use exponential operation instead of multiplication to calculate size đ§Ž - [
c]: rename functions đĄ - extract
UNAMEvar đ - use
Shell Arithmeticcomparison instead ofConditional Expressionsđĸ - use
||/&&instead of one branch/one lineifđ° - remove unnecessary file descriptor number
1in redirections âĄī¸ - simplify and uniform the codes
- remove
declarekeyword for global vars, more consistent - use upper-case var name for global readonly vars
- unset temp global vars after use
- unify error message format and refactor related functions âšī¸
- keep
usagefunction simple - use
-s/-hoption for optional argument ofdiefunction - rename var, use
COLOR_INDEXinstead ofCOUNT - small code cleanup
- merge
colorPrintfunction if only one caller - remove
local nl=$'\n'declaration if only one usage - remove unnecessary
{}when use var - use upper-case var name for global readonly vars
- use
=instead of==inConditional Expressions - remove section comments for simple section
- improve/fix/add code comments
đ Documentation
- update manual pages links to manned.org đ
- use
shellcheckitem doc link instead of prolixity comments â¨
đ Build/CI
- upgrade GitHub actions; add
dependabot.ymlđ¤ - upgrade
shunit2lib
Have Fun! đ 2024-04-12