<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Notepad++ Batch program find lines missing &quot;...&quot;]]></title><description><![CDATA[<p dir="auto">Hello guys,</p>
<p dir="auto">i got a .ptp with 2000 string looking like this:</p>
<p dir="auto">N0070 G18 G03 X-3.4602 I-.0569 K0.0 F35.4<br />
N0080 I.1137 K0.0<br />
N0090 X-3.3465 I.0569 K0.0<br />
N0100 G00 Y-.1181<br />
N0110 G03 X-3.4602 I-.0569 K0.0<br />
N0120 I.1137 K0.0<br />
N0130 X-3.3465 I.0569 K0.0<br />
N0140 G00 Y-.2362<br />
N0150 G03 X-3.4602 I-.0569 K0.0<br />
N0160 I.1137 K0.0<br />
N0170 X-3.3465 I.0569 K0.0</p>
<p dir="auto">i want to write a batch program, which finds the lines where there isnt G00, G01, G02, G03.<br />
and then go back 1 line and copy G00 or G01 or … into the line below.</p>
<p dir="auto">So for example:</p>
<p dir="auto">Line with N0080 because there is no G03, the goto line N0070 and copy G03 in line N0080</p>
<p dir="auto">Can anybody help me?</p>
<p dir="auto">Best regards,</p>
<p dir="auto">Sebastian Schmidt</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/13373/notepad-batch-program-find-lines-missing</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 19:55:34 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/13373.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Mar 2017 13:04:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Notepad++ Batch program find lines missing &quot;...&quot; on Wed, 01 Mar 2017 19:26:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sebastian-schmidt" aria-label="Profile: Sebastian-Schmidt">@<bdi>Sebastian-Schmidt</bdi></a></p>
<p dir="auto">it might be possible that a regex can help in such a case but you need to<br />
know where exactly the missing G0? needs to be placed but in general<br />
I would advise to learn a scripting language for solving such problems.<br />
I, of course, would advise to learn python. ;-)</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22237</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22237</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Wed, 01 Mar 2017 19:26:38 GMT</pubDate></item></channel></rss>