(no title)
linuxscooter | 7 months ago
Then if I need something similar for a Dockerfile, I’d write that also. The duplication is a sad feeling.
So I described what I wanted, /bin/sh with posix, detailed what both scripts do, and it merged both scripts without ever seeing their full codebases! (Both for work and my own code, I never share code unless it’s already in a public repository)
I fired up ShellCheck linter and zero issues. At work I Replaced both tech-debt laden scripts with a repo and people said they’d use it too, NICE cleanup, and how long did it take? :-)
jvanderbot|7 months ago