Thread
:
Merge text files & then sort unique in DOS
View Single Post
#
12
September 6th 18, 11:37 AM posted to alt.windows7.general,microsoft.public.windowsxp.general,alt.comp.os.windows-10,alt.comp.freeware,alt.comp.hardware.pc-homebuilt
Philip Herlihy
external usenet poster
Posts: 208
Merge text files & then sort unique in DOS
In article ,
says...
On 9/4/2018 11:16 PM, Grease Monkey wrote:
Merging text files is easy in DOS
for %f in (*.txt) do type "%f" output.txt
But how do you sort unique in DOS?
MS DOS has a SORT.EXE if I remember correctly... it's such a long time
ago....
Yes, but it doesn't have a /unique option.
Powershell can do this, as can the Bash shell if you install that.
--
Phil, London
Philip Herlihy
View Public Profile
View message headers
Find all posts by Philip Herlihy
Find all threads started by Philip Herlihy
Ads