π v2.5.2 πππ
π BugFix
coat/taoc: missing last line if thereβs no newline at the end of the file π πxpl: wrong exit code when file not existed or open file failure π’
π οΈ Improvements/Refactor
- find bash with
/usr/bin/envin shebang (by @hyperupcall in #119) π coat/taoc: π- remove pipe when naked
cat(more straightforward and faster) πΈ - extract
colorLinesfunction π
- remove pipe when naked
a2l: merge functioncolorPrintintorotateColorPrintπ οΈ- improve readability
- remove var interpolation in
printf formatif possible - rename vars, e.g.
message->content,normal->color_resetπ - use
\einstead of\033 - improve comments for
-tcheck
- remove var interpolation in
- simplify var usage
- remove unnecessary
{}when use var - remove quote of values in simple assignment
- All values undergo tilde expansion, parameter and variable expansion,
command substitution, arithmetic expansion, and quote removal.
Word splitting and filename expansion are not performed. - more info about assignment see
https://www.gnu.org/software/bash/manual/html_node/Shell-Parameters.html
- All values undergo tilde expansion, parameter and variable expansion,
- remove unnecessary
π Build/CI
- upgrade
shunit2lib
Have Fun! π
2024-01-25
