Jump to content

Text sorting


expertec
 Share

Recommended Posts

I have a passage of text, and I want to change it into a list of the words and sort by length.

Is this possible, and does anybody know how I could do it?

You could download this program - it's a Linux-like enviroment for windows

then, if it's a text document, issue this string against it:

cat FILENAME.TXT | sort -n

I know the Windows "type" command is similar to cat, so if DOS has a utility similar to "sort" use the same type of thing.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy