Search found 87 matches

by bars143
04 Aug 2018 08:59
Forum: DOS Batch Forum
Topic: spliting a single line into multiple lines
Replies: 9
Views: 16187

Re: spliting a single line into multiple lines

thanks to Aacini and dbenham for their own alternative scripts.

now its easy and lessen mistakes when editing (and copy-and-paste) on .xml files
by bars143
29 Apr 2018 14:39
Forum: DOS Batch Forum
Topic: spliting a single line into multiple lines
Replies: 9
Views: 16187

Re: spliting a single line into multiple lines [solved]

found out and solved: del output.txt type test.txt | jrepl "=?\r?\n" "endofline" /m >output.txt rename output.txt test2.txt pause type test2.txt | jrepl " android:" "endofline" /m >output.txt rename output.txt test3.txt pause type test3.txt | jrepl "endofline" "\r\n" /x /m >output.txt pause :D to my...
by bars143
28 Apr 2018 20:09
Forum: DOS Batch Forum
Topic: spliting a single line into multiple lines
Replies: 9
Views: 16187

Re: spliting a single line into multiple lines

im come back and here is my text2.txt file content: <?xml version="1.0" encoding="utf-8"?> <com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/system_bar_background" android:focusable="true" android:descend...
by bars143
28 Apr 2018 13:24
Forum: DOS Batch Forum
Topic: spliting a single line into multiple lines
Replies: 9
Views: 16187

Re: spliting a single line into multiple lines

i should start and relearn of what i done before and i go back where i start.thanks for suggestion
by bars143
28 Apr 2018 01:17
Forum: DOS Batch Forum
Topic: spliting a single line into multiple lines
Replies: 9
Views: 16187

spliting a single line into multiple lines

hello to everyone ! its been years and forgot everything i learned there before. but now i learn a basic android for theming status bar and i want and stable scripts to make xml editing easy. here is my sample intial content of status_bar.xml content <?xml version="1.0" encoding="utf-8"?> <com.andro...
by bars143
03 Feb 2015 06:04
Forum: DOS Batch Forum
Topic: FindRepl.bat:New regex utility to search and replace strings
Replies: 139
Views: 297752

Re: FindRepl.bat:New regex utility to search and replace str

Excuse me. You will get a better help if you describe your problem in a concise text description. Don't use code segments as base examples. Suppose we know nothing about your problem. Use small segments of data files (4 or 5 lines) as examples. EDIT : Code added Check if this is what you want: @ech...
by bars143
02 Feb 2015 00:03
Forum: DOS Batch Forum
Topic: FindRepl.bat:New regex utility to search and replace strings
Replies: 139
Views: 297752

Re: FindRepl.bat:New regex utility to search and replace str

HI, Antonio can you give me an alternative faster script than this i made for two days now: @echo off setlocal enabledelayedexpansion set "count=1 set /a "count+=1" echo."https://translate.google.com/m?hl=en&sl=auto&tl=ceb&ie=UTF-8&prev=_m&q=">list_of_url...
by bars143
27 Jan 2015 23:12
Forum: DOS Batch Forum
Topic: FindRepl.bat:New regex utility to search and replace strings
Replies: 139
Views: 297752

Re: FindRepl.bat:New regex utility to search and replace str

@Aacini , a big thanks for your another good scripts -- it works on multi-lines too with one empty line per sentence including .srt format that required timestamp before a sentence like this example: 1 00:00:24,827 --> 00:00:29,827 My user-name can't be Bars! 2 00:00:59,587 --> 00:01:04,587 My other...
by bars143
27 Jan 2015 21:26
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2166661

Re: JREPL.BAT - regex text processor - successor to REPL.BAT

@Dbenham , a big thanks for your good scripts -- it works on multi-lines with one empty line per sentence including .srt format that required timestamp before a sentence like this example: 1 00:00:24,827 --> 00:00:29,827 "My user-name can't be Bars!" 2 00:00:59,587 --> 00:01:04,587 My othe...
by bars143
27 Jan 2015 01:49
Forum: DOS Batch Forum
Topic: FindRepl.bat:New regex utility to search and replace strings
Replies: 139
Views: 297752

Re: FindRepl.bat:New regex utility to search and replace str

You may directly use the replacement file in the /G: switch, as described at FindRepl documentation : 6. Loading alternations from a file (/G switch) The new /G switch allows to place the search/replace alternations in a file. The use of this feature is simple because all previously described facil...
by bars143
27 Jan 2015 01:25
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2166661

Re: JREPL.BAT - regex text processor - successor to REPL.BAT

That will be a very crude translation, given that the same word can have many meanings, and thus different translations, depending on context. But your request is easily done. I create a dictionary using environment variables. The JREPL search term identifies each word in the text, and then replace...
by bars143
26 Jan 2015 20:28
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2166661

Re: JREPL.BAT - regex text processor - successor to REPL.BAT

Hi @Dbenham, do you have Jreply script that translate output.txt from english-cebuano.txt source to translated.txt please read my request to @Aacini in this link: this page 39510 but the output should have " - " and " ' " : my user-name can't be Bars the result after translation ...
by bars143
26 Jan 2015 20:04
Forum: DOS Batch Forum
Topic: FindRepl.bat:New regex utility to search and replace strings
Replies: 139
Views: 297752

Re: FindRepl.bat:New regex utility to search and replace str

@Dbenham and @ Aacini, thanks you for replying my problems and i will post my feedback to all your suggestions when an actual subtitle DVD files i saved will be tested soon. @Dbenham, at first i had a script made before your reply: for /f "delims=" %%A in (' type "input.txt" ^| j...
by bars143
26 Jan 2015 01:37
Forum: DOS Batch Forum
Topic: FindRepl.bat:New regex utility to search and replace strings
Replies: 139
Views: 297752

Re: FindRepl.bat:New regex utility to search and replace str

Hi, Aacini or anyone i had an input.text file contains five sentences including characters with five empty line = an overall total of 10 lines: first line, with comma character second line with punctuation mark ! third line with question mark ? fourth line with two "double quote" fifth lin...