News for hackers. Stuff that matters.
Re:Useful sed scripts and patterns by sitkack on Friday November 12, 2021 @04:35PM (#29204808)
I have done something similar, what I really found worked well was to wrap the bash scripts in python to instrument them and if they just operate on data, you can even spawn another command and run them both at the time confirming that the output matches.

Great way to have confidence in a port and provide for a fallback path. Eventually the new code will take over the old code and the old code will wither and die.

Re:Useful sed scripts and patterns by stjohnswarts on Monday November 15, 2021 @06:30PM (#29234399)
It seems like when a bash script gets over say 50 lines or so I start doubting whether something should be a bash script :) . I saw an IRC client written entirely in bash once and it was quite a resource of esoteric bash scripting haha.