edit lines in FIND comand
Posted: 07 Apr 2020 15:08
Hi programmers,
I'm facing the following task:
I have the file "c:\folder\a.txt" with the following content:
a
b
a
b
c
So I use the following batch:
find "a" < c:\folder\a.txt >> c:\folder\b.txt
and I obtain the c:\folder\b.txt with the following content:
a
a
Now, what if I want to add a string after every line? To obtain for example the following output:
a;
a;
is it possible?
Thanks
I'm facing the following task:
I have the file "c:\folder\a.txt" with the following content:
a
b
a
b
c
So I use the following batch:
find "a" < c:\folder\a.txt >> c:\folder\b.txt
and I obtain the c:\folder\b.txt with the following content:
a
a
Now, what if I want to add a string after every line? To obtain for example the following output:
a;
a;
is it possible?
Thanks