mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-09 21:48:03 +08:00
10 lines
172 B
Bash
10 lines
172 B
Bash
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
honk_add_log_lines() {
|
|
[ -s "$1" ] || return 0
|
|
while IFS= read -r line; do
|
|
json_add_string "" "$line"
|
|
done < "$1"
|
|
}
|