3 ms·
The git project uses shell extensively and the resulting tools are portable to just about every unix under the sun and the Git for Windows bash environment. Th
by davvid 4y ago
The git project uses shell extensively and the resulting tools are portable to just about every unix under the sun and the Git for Windows bash environment.
Their shell script guidelines are pretty helpful for someone wanting to familiarize themselves with portable posix shell scripting. There's some style nits in there too, but the other stuff can be helpful if you're looking for a well-traveled path.
https://github.com/git/git/blob/v2.35.0/Documentation/CodingGuidelines#L72 https://github.com/git/git/blob/v2.35.0/Documentation/Coding...