Re: [Freedos-devel] Question about edlin

2024-01-22 Thread Gregory Pietsch via Freedos-devel
Of course, quotes can be escaped. -- Gregory > On 01/22/2024 5:18 PM EST Bret Johnson via Freedos-devel > wrote: > > > That solves the problem with commas, but it looks like you may still have > issues if there are quotes in the file. > > I know one thing I've done in the past with some of

Re: [Freedos-devel] Question about edlin

2024-01-22 Thread Bret Johnson via Freedos-devel
That solves the problem with commas, but it looks like you may still have issues if there are quotes in the file. I know one thing I've done in the past with some of my programs is allow the use of either a double-quote ("), single-quote ('), or grave-quote (`) as string demarkers, which

Re: [Freedos-devel] Question about edlin

2024-01-22 Thread Jim Hall via Freedos-devel
On Mon, Jan 22, 2024 at 11:24 AM Gregory Pietsch via Freedos-devel wrote: > > FD edlin ignores a leading space. If you want the leading space to be > searched for, put the string in quotes; e.g. > > 1r"written"," written" > > The reason why I didn't stick a ^Z there is because I wanted to get >

Re: [Freedos-devel]  Re: Question about edlin

2024-01-22 Thread Wilhelm Spiegl via Freedos-devel
Does this mean that edlin program already supports NLS and the files from Jerome are wrong? Or what is the problem?Could you send a working NLS version so that I can fix this problem for Jerome? Would be great.Willi--Diese Nachricht wurde von meinem Android Mobiltelefon mit mail.com Mail

Re: [Freedos-devel] Question about edlin

2024-01-22 Thread Gregory Pietsch via Freedos-devel
I haven't shipped the NLS stuff since version 2.20 or so because I thought Jerome was handling that. -- Gregory > On 01/22/2024 2:11 PM EST Wilhelm Spiegl via Freedos-devel > wrote: > > > It would be great when edlin could support the 20 NLS files that are shipped > with it some day. > At

Re: [Freedos-devel] Question about edlin

2024-01-22 Thread Wilhelm Spiegl via Freedos-devel
It would be great when edlin could support the 20 NLS files that are shipped with it some day. At least 1.24 till 1.29 of the NLS files are not supported. And I do not speak about Chinese.   Willi     Sent: Monday, January 22, 2024 at 6:23 PM From: "Gregory Pietsch via Freedos-devel" To: 

Re: [Freedos-devel] Question about edlin

2024-01-22 Thread Gregory Pietsch via Freedos-devel
FD edlin ignores a leading space. If you want the leading space to be searched for, put the string in quotes; e.g. 1r"written"," written" The reason why I didn't stick a ^Z there is because I wanted to get away from control characters in the commands, and a comma just looks better, IMHO.

Re: [Freedos-devel] Question about edlin

2024-01-22 Thread Bret Johnson via Freedos-devel
> 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