Search found 10 matches

by onlinestatements
18 Jul 2019 07:16
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1925503

Re: JREPL.BAT v8.2 - regex text processor with support for text highlighting and alternate character sets

When I do this code it: call C:\qsi\jrepl.bat "\f" "" /F "%%I|ascii" /O - it eliminates all the FF and keeps the null bytes intact But if I do this code with /INC option added like: call C:\qsi\jrepl.bat "\f" "" /INC "3:9" /F "%%I|ascii" /O - it doesn't eliminate anything at all. What am I doing wro...
by onlinestatements
16 Jul 2019 18:52
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1925503

Re: JREPL.BAT v8.3 - regex text processor with support for text highlighting and alternate character sets

how would I implement that solution into my code? for /R %%I in ("*.out") do ( call C:\qsi\jrepl.bat "\f" "" /xseq /INC "3:10" /F "%%I" /L /O - call C:\qsi\jrepl.bat "ESCE" "" /xseq /INC "3:10" /F "%%I" /L /O - ) Also I posted my question on stack overflow website and somebody gave me a solution usi...
by onlinestatements
15 Jul 2019 06:08
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1925503

Re: JREPL.BAT v8.2 - regex text processor with support for text highlighting and alternate character sets

It is not possible to use the /INC switch because my data has NULL bytes. How can I use the PFLAG "i" option to only process the first found match and quit after that? for /R %%I in ("*.out") do ( call C:\qsi\jrepl.bat "\f" "" /xseq /INC "3:10" /F "%%I" /L /O - call C:\qsi\jrepl.bat "ESCE" "" /xseq ...
by onlinestatements
11 Jul 2019 11:22
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1925503

Re: JREPL.BAT v7.15 - regex text processor now with Unicode and XRegExp support

The NUL characters will only ever appear in the very first line of every file I ever process. Could we somehow tell it to always exclude or skip the first line and not have to use /M option. Then I just need to scan only lines 2 thru 10 for the removal of the FF and the Esc E Then I also wouldn't h...
by onlinestatements
25 Oct 2018 07:18
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1925503

Re: JREPL.BAT v7.15 - regex text processor now with Unicode and XRegExp support

The code you provided didn't delete the Escape E nor the FF and doesn't play nice with the NULL's on the first line and it is very slow. The only problem I had with my original code was that I needed it to only delete any FF within the first 10 lines. Is there maybe another text manipulation tool th...
by onlinestatements
25 Oct 2018 07:05
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1925503

Re: JREPL.BAT v7.15 - regex text processor now with Unicode and XRegExp support

What is the size limit for JRPEL /M processing.
Is it a line limit or a fize size limit?
by onlinestatements
24 Oct 2018 15:24
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1925503

Re: JREPL.BAT v7.15 - regex text processor now with Unicode and XRegExp support

The NUL characters will only ever appear in the very first line of every file I ever process. Could we somehow tell it to always exclude or skip the first line and not have to use /M option. Then I just need to scan only lines 2 thru 10 for the removal of the FF and the Esc E Then I also wouldn't ha...
by onlinestatements
24 Oct 2018 10:21
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1925503

using /EXC with binary option /M

I am trying to exclude lines but need to use the /M option since there are NULL values in the files I am processing. It states that /EXC is incompatible with the /M option. Is there another way to exclude lines when your file has NULL's in it? I have posted my code that I have so far below. It gets ...