π 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/env
in shebang (by @hyperupcall in #119) π coat/taoc
: π- remove pipe when naked
cat
(more straightforward and faster) πΈ - extract
colorLines
function π
- remove pipe when naked
a2l
: merge functioncolorPrint
intorotateColorPrint
π οΈ- improve readability
- remove var interpolation in
printf format
if possible - rename vars, e.g.
message
->content
,normal
->color_reset
π - use
\e
instead of\033
- improve comments for
-t
check
- 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
shunit2
lib
Have Fun! π
2024-01-25