Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1#!/usr/bin/env sh
2
3# Source utils.sh for getFTLConfigValue()
4PI_HOLE_SCRIPT_DIR='/opt/pihole'
5utilsfile="${PI_HOLE_SCRIPT_DIR}/utils.sh"
6. "${utilsfile}"
7
8# Get file paths
9FTL_PID_FILE="$(getFTLConfigValue files.pid)"
10
11# Cleanup
12rm -f /run/pihole/FTL.sock /dev/shm/FTL-* "${FTL_PID_FILE}"
13

After

1#!/usr/bin/env sh
2
3# Source utils.sh for getFTLConfigValue()
4PI_HOLE_SCRIPT_DIR='/opt/pihole'
5utilsfile="${PI_HOLE_SCRIPT_DIR}/utils.sh"
6# shellcheck source="../Scripts/utils.sh"
7. "${utilsfile}"
8
9# Get file paths
10FTL_PID_FILE="$(getFTLConfigValue files.pid)"
11
12# Cleanup
13rm -f /run/pihole/FTL.sock /dev/shm/FTL-* "${FTL_PID_FILE}"
14

Before

program
comment "#!/usr/bin/env sh"
comment "# Source utils.sh for getFTLConfigValue()"
variable_assignment
variable_name "PI_HOLE_SCRIPT_DIR"
= "="
raw_string "'/opt/pihole'"
variable_assignment
variable_name "utilsfile"
= "="
string
" "\""
expansion
${ "${"
variable_name "PI_HOLE_SCRIPT_DIR"
} "}"
string_content "/utils.sh"
" "\""
command
command_name
word "."
string
" "\""
expansion
${ "${"
variable_name "utilsfile"
} "}"
" "\""
comment "# Get file paths"
variable_assignment
variable_name "FTL_PID_FILE"
= "="
string
" "\""
command_substitution
$( "$("
command
command_name
word "getFTLConfigValue"
word "files.pid"
) ")"
" "\""
comment "# Cleanup"
command
command_name
word "rm"
word "-f"
word "/run/pihole/FTL.sock"
word "/dev/shm/FTL-*"
string
" "\""
expansion
${ "${"
variable_name "FTL_PID_FILE"
} "}"
" "\""

After

program
comment "#!/usr/bin/env sh"
comment "# Source utils.sh for getFTLConfigValue()"
variable_assignment
variable_name "PI_HOLE_SCRIPT_DIR"
= "="
raw_string "'/opt/pihole'"
variable_assignment
variable_name "utilsfile"
= "="
string
" "\""
expansion
${ "${"
variable_name "PI_HOLE_SCRIPT_DIR"
} "}"
string_content "/utils.sh"
" "\""
comment "# shellcheck source=\"../Scripts/utils.sh\""
command
command_name
word "."
string
" "\""
expansion
${ "${"
variable_name "utilsfile"
} "}"
" "\""
comment "# Get file paths"
variable_assignment
variable_name "FTL_PID_FILE"
= "="
string
" "\""
command_substitution
$( "$("
command
command_name
word "getFTLConfigValue"
word "files.pid"
) ")"
" "\""
comment "# Cleanup"
command
command_name
word "rm"
word "-f"
word "/run/pihole/FTL.sock"
word "/dev/shm/FTL-*"
string
" "\""
expansion
${ "${"
variable_name "FTL_PID_FILE"
} "}"
" "\""