A shell in Rust could be really cool
A shell in Rust could be really cool
Posted Feb 17, 2025 21:12 UTC (Mon) by raven667 (subscriber, #5198)In reply to: A shell in Rust could be really cool by taladar
Parent article: Rewriting essential Linux packages in Rust
...And 8am, I just fixed a bug in a cron job that was rotating some archives and would truncate the timespec where I want the leading zero (eg 0600-0859) for the filename `timenow=$( date +%H )`, just looked it up and I fixed it by referencing the previous hour as `$(( ${timenow#0} - 1 ))` which forced the evaluation to not be octal. good times.