We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
br_add_to_file
1 parent e7ddc80 commit 2bb6485Copy full SHA for 2bb6485
usr/libexec/helper-scripts/strings.bsh
@@ -3,6 +3,19 @@
3
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <[email protected]>
4
## See the file COPYING for copying conditions.
5
6
+br_add_to_file() {
7
+ local file_name="$1"
8
+
9
+ test -f "${file_name}"
10
+ safe-rm -f -- "${file_name}_br"
11
+ touch -- "${file_name}_br"
12
13
+ local line
14
+ while IFS= read -r line ; do
15
+ printf '%s\n' "$line<br />" | tee -a -- "${file_name}_br" >/dev/null
16
+ done < "${file_name}"
17
+}
18
19
read_integer_file() {
20
local target_file lower_bound upper_bound file_contents
21
0 commit comments