I have installed Cygwin on my machine and I would to know if there exist a way to use full power of sort command also with the normal DOS prompt.
I have read this question: Unix Sort with Tab Delimiter and the command to sort a tabbed file using the second column is:
sort -t $'\t' -k 2 file.txt
If I launch the command inside the Cygwin environment it works like expected, if I launch it from the normal Windows prompt (I have renamed sort.exe into xsort.exe to avoid conflicting with native Windows sort command) it doesn't works, it not recognize the $ operator and it see \t like two distinct characters and operation fails.
Is it possible to make it working also from the DOS prompt?