1 2 3 4 5 6 7
#!/bin/sh calnfile="${HOME}/.cache/caln" line=$(grep $@ $calnfile | fzf || exit 1) sed -i.bak "/${line}/d" $calnfile