Skip to content

Commit 641cf2c

Browse files
authored
chore: fix some typos (#2974)
Signed-off-by: occupyhabit <wangmengjiao@outlook.com>
1 parent 6425f07 commit 641cf2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ttar

+3-3
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,16 @@ function extract {
212212
local eof_without_newline
213213
if [ "$size" -gt 0 ]; then
214214
if [[ "$line" =~ [^\\]EOF ]]; then
215-
# An EOF not preceeded by a backslash indicates that the line
215+
# An EOF not preceded by a backslash indicates that the line
216216
# does not end with a newline
217217
eof_without_newline=1
218218
else
219219
eof_without_newline=0
220220
fi
221221
# Replace NULLBYTE with null byte if at beginning of line
222-
# Replace NULLBYTE with null byte unless preceeded by backslash
222+
# Replace NULLBYTE with null byte unless preceded by backslash
223223
# Remove one backslash in front of NULLBYTE (if any)
224-
# Remove EOF unless preceeded by backslash
224+
# Remove EOF unless preceded by backslash
225225
# Remove one backslash in front of EOF
226226
if [ $USE_PYTHON -eq 1 ]; then
227227
echo -n "$line" | python -c "$PYTHON_EXTRACT_FILTER" >> "$path"

0 commit comments

Comments
 (0)