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