🔧 Simple script for use with llama

This commit is contained in:
z3rOR0ne 2023-12-07 04:53:27 -08:00
parent e7dac08972
commit daac791005

12
scripts/bslash Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
if [ -z "$1" ]; then
echo "Usage: bslash <file>"
exit 1
fi
input=$(cat "$1")
output="${input//$/$\\}"
echo "$output" | xclip -sel clip