🔧 Bslash now works with llama

This commit is contained in:
z3rOR0ne 2023-12-07 11:31:57 -08:00
parent daac791005
commit 9c27ba496b

View file

@ -5,8 +5,7 @@ if [ -z "$1" ]; then
exit 1
fi
input=$(cat "$1")
output="${input//$/$\\}"
echo "$output" | xclip -sel clip
# Read the file line by line and append a backslash to each line
while IFS= read -r line; do
echo "$line\\"
done <"$1" | xclip -sel clip