Skip to content

Commit

Permalink
print whitespaces while updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TUVIMEN committed Feb 22, 2025
1 parent 3c9668d commit 60400a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ trim_g() {

sed 's/\\/\\\\/g' "$file" | while read i
do
[ -z "$i" ] && continue
[ -z "$i" ] && {
[ -n "$output" ] && echo "$i" >> "$output"
continue
}
first="$(echo "$i" | cut -b 1)"

if echo "$first" | grep -q '^[#@$!%<^]$'
Expand Down

0 comments on commit 60400a8

Please sign in to comment.