Revision: 780
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=780
Author: iank
Date: 2024-04-15 11:01:37 -0400 (Mon, 15 Apr 2024)
Log Message:
-----------
shellcheck fix
Modified Paths:
--------------
trunk/sviki/fsf/bash-style-guide.mdwn
Modified: trunk/sviki/fsf/bash-style-guide.mdwn
===================================================================
--- trunk/sviki/fsf/bash-style-guide.mdwn 2024-04-03 20:32:08 UTC (rev
779)
+++ trunk/sviki/fsf/bash-style-guide.mdwn 2024-04-15 15:01:37 UTC (rev
780)
@@ -515,7 +515,7 @@
To work from the same directory of the script:
```
-readonly this_file="$(readlink -f -- "${BASH_SOURCE[0]}")"; cd ${this_file%/*}
+readonly this_file; this_file="$(readlink -f -- "${BASH_SOURCE[0]}")"; cd
${this_file%/*}
```
Print script name & command, then execute command: