<div>Attached is a patch which gives a near windows like 'sort' utility</div><div>by parsing the command line and then calling through to the unix</div><div>underlying sort. In tests it gives pretty much the same result as</div>
<div>windows other than I have to force the locale to get preceeding</div><div>spaces included in the sort.</div><div><br></div><div>Tested in cmd and wineconsole, including mixing stdout with stdin</div><div>and pipes. Its very slightly hacky in its implementation as in</div>
<div>order to make a 'background unix process' be able to interoperate</div><div>with wineconsole, I store stdin into a temporary file, sort then</div><div>delete it. Similarly if writing to stdout it saves to a temporary</div>
<div>file and then displays the contents.</div><div><br></div><div>What I can say is in my tests, I get identical results in most</div><div>tests between windows and wine except when using character offsets</div><div>and shorter lines get ordered differently (very edge case)</div>
<div><br></div><div>I'd like to think this would be commitable, but would appreciate</div><div>peoples thoughts on whether this would be acceptable.�</div><div><br></div><div>I am also not sure on the .po stuff / languages - I've copied what</div>
<div>xcopy and cmd do, and built a .rc file, do I need do anything else.</div><div>What about the configure changes - would I include those in any</div><div>patch?</div><div><br></div><div>Jason</div>