Google – Shell Style Guide irrlab programming June 4, 2016 1 Minute Shell Files and Interpreter Invocation File Extensions SUID/SGID Environment STDOUT vs STDERR Comments File Header Function Comments Implementation Comments TODO Comments Formatting Indentation Line Length and Long Strings Pipelines Loops Case statement Variable expansion Quoting Features and Bugs Command Substitution Test, [ and [[ Testing Strings Wildcard Expansion of Filenames Eval Pipes to While Naming Conventions Function Names Variable Names Constants and Environment Variable Names Source Filenames Read-only Variables Use Local Variables Function Location main Calling Commands Checking Return Values Builtin Commands vs. External Commands Conclusion https://google.github.io/styleguide/shell.xml Share this:TwitterLike this:Like Loading... Related Published by irrlab https://about.me/irocha View all posts by irrlab Published June 4, 2016