shell - What is a good workaround for "sort" command's limitation to 65535 characters per line? -
here snippet sort command's functionality:
/rec[ord_maximum] characters specifies maximum number of characters in record (default 4096, maximum 65535). here error when try sort file long lines:
c:\users\heqin\pim2>cat artist_input.tsv | sort /rec 65535 input record exceeds maximum length. specify larger maximum. short of writing custom script (in python, example) handle case, workaround sorting files lines longer 65535?
as clarification, using unix utils version of "sort", running on windows.
Comments
Post a Comment