You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
line feed
About this tag
The line feed tag on WindowsForum.com covers discussions about inserting or replacing line breaks in text files, particularly in Notepad. Users explore methods to add carriage return and line feed characters (CRLF) when performing find-and-replace operations. A common use case involves editing G-code files for CNC machines, where users need to insert new lines before specific patterns like G00 or G01 commands. The tag focuses on practical text manipulation techniques within Windows, including the use of special characters like /n to represent line feeds in replacement strings. Topics are centered on file editing, automation, and formatting text for technical applications.
Is it possible to alter 2 lines in notepad using edit/replace?
I have a number of files, gcodes, that are in the format
G00 Xnn Ynn
G01 Xnn Ynn
G01 Xnn Ynn
G00 Xnn Ynn
G01 Xnn Ynn
G00 Xnn Ynn etc
I would like to finish up with a line before each G00 Xnn Ynn line with G00 Z2 and before each...