I actually do use edlin sometimes. But I have a question that might actually be a bug report:
When I try to search and replace text, and I want to add a space in front of my replaced text, I can't get it to work. Am I doing this wrong? Here's an example: In this 1-line file, I want to edit the line from "..file,written.." to "..file, written.." (I want to add a space before the word "written") D:\DOCS>edlin t.txt edlin 2.23, copyright (c) 2003 Gregory Pietsch This program comes with ABSOLUTELY NO WARRANTY. It is free software, and you are welcome to redistribute it under the terms of the GNU General Public License -- either version 2 of the license, or, at your option, any later version. t.txt: New file. *i : This is a plain text file,written in edlin. : . *1rwritten, written *l 1:*This is a plain text file,written in edlin. * I'm using the "r" (replace) instruction correctly: 1rfrom,to will start at line 1 and replace "from" with "to". But it looks like a leading space is ignored, so edlin treats my "1rwritten, written" as just "1rwritten,written" and seems to ignore it because the "from" and "to" strings are the same. FYI: I can add a space in the middle of a replaced word, such as: *1rtext,te xt 1: This is a plain te xt file,written in edlin. Is "ignore leading spaces after the comma in the 'r' command" the expected behavior from MS-DOS edlin? _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel