As I just learned at viewtopic.php?f=3&t=9923&p=63727#p63726, SORT supports the /UNIQUE option, at least on Windows 10
The built in help makes no mention of it, so it is no wonder that I've never seen this behavior before.
Has anyone ever run across this option before, or seen it documented by Microsoft anywhere? What Windows version did it become available?
Dave Benham
SORT supports the /UNIQUE and /CASE_SENSITIVE options!
Moderator: DosItHelp
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: SORT supports the /UNIQUE option!
I could have sworn that we already had a thread about this and I learned about it from that. Naturally, I can't check because search is currently broken.
It got added with Windows 10 (https://stackoverflow.com/a/50314929/4158862), but it seems that Microsoft forgot to document it.
It got added with Windows 10 (https://stackoverflow.com/a/50314929/4158862), but it seems that Microsoft forgot to document it.
Re: SORT supports the /UNIQUE option!
SS64 lists it as being available on Win 10. However, I never noticed it. Shame on Microsoft that they didn't even document such a helpful feature
https://ss64.com/nt/sort.html
Steffen
https://ss64.com/nt/sort.html
Steffen
Re: SORT supports the /UNIQUE option!
Ooh, good for SS64.
So /UNIQUE can be abbreviated as /UNIQ
Also on SS64 is the undocumented /UNI-OUTPUT (or /U) that outputs in unicode (UTF16), available since Win 7. I did not know about that one either, though it is not of much interest to me.
Dave Benham
So /UNIQUE can be abbreviated as /UNIQ
Also on SS64 is the undocumented /UNI-OUTPUT (or /U) that outputs in unicode (UTF16), available since Win 7. I did not know about that one either, though it is not of much interest to me.
Dave Benham
Re: SORT supports the /UNIQUE option!
And also on SS64, the /C (/CASE_SENSITIVE) option, again available since Win 7 - Now that is useful
Re: SORT supports the /UNIQUE option!
There was. This was the first time I heard about it (thanks to @penpen), but undoubtedly there were earlier mentions of it.ShadowThief wrote: ↑23 Jan 2021 14:18I could have sworn that we already had a thread about this and I learned about it from that.