Revision: 724
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=724
Author: iank
Date: 2023-12-14 00:45:25 -0500 (Thu, 14 Dec 2023)
Log Message:
-----------
style guide formatting
Modified Paths:
--------------
trunk/sviki/fsf/bash-style-guide.mdwn
Modified: trunk/sviki/fsf/bash-style-guide.mdwn
===================================================================
--- trunk/sviki/fsf/bash-style-guide.mdwn 2023-12-14 00:59:58 UTC (rev
723)
+++ trunk/sviki/fsf/bash-style-guide.mdwn 2023-12-14 05:45:25 UTC (rev
724)
@@ -287,7 +287,7 @@
```
for f in $(command-that-could-fail); do true; done
-if [[ $(command-that-could-fail) != x ]]; do true; done
+if \[[ $(command-that-could-fail) != x ]]; do true; done
local var=$(command-that-could-fail)
declare var=$(command-that-could-fail)
readonly var=$(command-that-could-fail)