I have a line like this. It breaks with an error, no such file or directory.
LB=$(ls "$f *.backup" | sort --reverse | head -n 1)
If I do this, it kinda works, just spits wrong filenames:
LB=$(ls $f *.backup | sort --reverse | head -n 1)
How do I solve this?