以下は、Sort コマンドのヘルプ機能の抜粋です。
/REC[ORD_MAXIMUM] characters Specifies the maximum number of characters
in a record (default 4096, maximum 65535).
長い行を含むファイルをソートしようとすると、次のエラーが表示されます。
C:\Users\heqin\PIM2>cat Artist_Input.tsv | sort /REC 65535
Input record exceeds maximum length. Specify larger maximum.
このケースを処理するためだけに (Python などで) カスタム スクリプトを作成する以外に、65535 行を超える行を含むファイルを並べ替えるための適切な回避策は何ですか?
明確にするために、私は Windows で実行されている "sort" の Unix Utils バージョンを使用しています。