Macro in Vim is extremely useful to perform tasks that is difficult to finish in normal command line tool (sed, awk, perl, etc.), is there any way to perform that kinds of macro string in command line?
Something like the following:
// execute macro stored in register a 100 times for filenames
vim execute -s "100@a" filenames [filenames2, filenames3, ...]