How to replace only the first match in a text file with jrepl using /pflag “i” switch?
问题 I am trying to replace only the first match in a text file. My code is: FOR /R %%a IN ("*.out") DO call C:\qsi\jrepl.bat "FF**********" "**********" /f "%%a" /L /m /o - The FF before the asterisks is representing a form feed character. The code is for removing the form feed for the first match only. I was trying to play with /p & /pflag "i" , but could not get it to work. I am using the latest version 8.2 of JREPL.BAT. 回答1: It is possible to use the JREPL.BAT option /INC if the first form