Revision: 867
          
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=867
Author:   iank
Date:     2026-04-14 09:29:43 -0400 (Tue, 14 Apr 2026)
Log Message:
-----------
minor style guide update

Modified Paths:
--------------
    trunk/sviki/fsf/bash-style-guide.mdwn

Modified: trunk/sviki/fsf/bash-style-guide.mdwn
===================================================================
--- trunk/sviki/fsf/bash-style-guide.mdwn       2026-04-14 11:42:03 UTC (rev 
866)
+++ trunk/sviki/fsf/bash-style-guide.mdwn       2026-04-14 13:29:43 UTC (rev 
867)
@@ -230,10 +230,10 @@
 
 ## Replacing a script file can screw up running instances
 
-Solution: For any script file that might get replaced with a new version, eg: a
-long running script or a cronjob, make a `main` function which
+Solution: For any script file that might get replaced with a new
+version, eg: a long running script or a cronjob, make a function which
 contains all important logic & commands and make it be the last command
-in the file.
+in the file. `main` is a decent name for it.
 
 Background: Bash doesn't read further in the script than it needs to and
 when you replace the script, bash will try to read the next line from


Reply via email to