Revision: 782 http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=782 Author: iank Date: 2024-04-18 02:26:33 -0400 (Thu, 18 Apr 2024) Log Message: ----------- fix duplicate info
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-15 15:01:43 UTC (rev 781) +++ trunk/sviki/fsf/bash-style-guide.mdwn 2024-04-18 06:26:33 UTC (rev 782) @@ -512,12 +512,6 @@ # Very common code snippets -To work from the same directory of the script: - -``` -readonly this_file; this_file="$(readlink -f -- "${BASH_SOURCE[0]}")"; cd ${this_file%/*} -``` - Print script name & command, then execute command: ```