Alphabatically sort a text file

By QuickStep on Sep 23, 2005

Will alphabatically sort every line in a text file. Usage: /sorttxt file

;Usage: /sorttxt <file>
;Sorts a text file the propper (and fastest) way

alias sorttxt $iif($isfile($+(",$$1-,")),filter -affc $str($+(",$1-,",$chr(32)),2))

Comments

Sign in to comment.
guest598594   -  Oct 04, 2007

good idea :P

 Respond  
Scruffy   -  Dec 17, 2005

Vary small but useful =)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.