I am interested in editing multiple files. Using this answer:How to edit files non-interactively (e.g. in pipeline)?I came up with my own test case:seq 10 14 | tee pa.txt > qu.txtex -sc 'argdo %s/1/Z/ge|x' *.txtHowever when I run the Ex command, the terminal just hangs, it does not completethe command. If I remove the -s, the command still hangs with this output:pa.txt 5 lines, 15 charactersEntering Ex mode.  Type visual to go to Normal mode.:
argdo command hanging
ex command
murus comment lead me to the answer. According to the docs, argdorequires the listcmds feature at compile time. It appears I do not have it:$ ex --version | grep -e Features -e listcmdsSmall version without GUI.  Features included (+) or not (-):-cursorshape     -listcmds        -reltime         +windowsHere is a workaround:for b in *.txtdo  ex -sc '%s/1/Z/|x' $bdone