News for hackers. Stuff that matters.
Re:Shfmt – format shell programs (like gofmt, rustfmt) by usr1106 on Saturday February 11, 2023 @04:42PM (#34756685)
I did that at university around 30 years ago. I think nowadays 1TBS is much more common.
Re:Shfmt – format shell programs (like gofmt, rustfmt) by erik_seaberg on Saturday February 11, 2023 @04:49PM (#34756754)
Yeah, I use 1TBS and cuddled elses in Scala/Java/C++, but adding a semicolon to do it with a keyword feels like arguing with the grammar.