chore: add ch 5-6

This commit is contained in:
xuu committed 2025-03-15 21:11:29 -06:00
1 parent ff069b52c4
commit cbb5561fc6
7 files changed
+3861 -51

No files matched your search

Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
SED=$(
while IFS=$'\t' read -r -a myArray
do
echo -ne "s_"${myArray[0]}"_"${myArray[1]}"_g;\n"
done < replacements
)
echo sed -e "$SED"
cat $1 | sed -e "$SED" | sed -z 's_-\n__g'> $2