utils/sh/tmenu-backend

7 lines
73 B
Bash
Executable File

#!/bin/sh
printf "%s" "$1"
fzy "$2" < "$1" > "${1}a"
mv "${1}a" "${1}"