I want a for loop analog for Vifm.
When I don't select any file, I can type :!echo %f and I see the output of echo with the current file name as the argument.
When I select several files, :!echo %f yields output of echo with all selected filenames joined with spaces as the argument.
What if I want to apply any program (e.g. echo) to each selected file? So
echo file1
echo file2
echo file3
...
instead of
echo file1 file2 file3
What options do I have?
P.S.: I want the Vifm analog of the following Bash code:
for f in file1 file2 file3; do
echo $f
done