TIP: Click on subject to list as thread! ANSI
echo: taglines
to: mark lewis
from: Dan Richter
date: 2019-03-19 17:18:52
subject: Re: Random Taglines

On 19 Mar 2019, mark lewis said the following...
 
 ml> if you're on linux, you might find this li'l script handy... it sorts the
 ml> taglines and removes the duplicates... just tell it the name of the file
 ml> containing the taglines... it expects the file to have a .txt
 ml> extension... the results are output into filename.sorted.uniq.txt so you
 ml> don't lose the original until you're ready to remove/overwrite it...

Thank you. 

That script is quick too! It sorted 51306 lines to 36611 lines in about .5
seconds!

 ml> the script is 26 lines long... i'm pretty sure wordwrap will bite and
 ml> need to be corrected...

There was only one line that wordwrap messed up. Line 24. It was simple
enough to straighten out. :)

I really should spend some more time learning the scripting languages...


---

Black Panther(RCS)
a.k.a. Dan Richter
Sysop - Castle Rock BBS
telnet://bbs.castlerockbbs.com
http://www.castlerockbbs.com
The sparrows are flying again....

--- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
* Origin: Castle Rock BBS - bbs.castlerockbbs.com (1:317/3)
SEEN-BY: 57/0 153/250 229/426 267/800 310/31 317/2 393/68 633/0 267 280 281
SEEN-BY: 633/412 640/1384 712/620 848 886 770/0 1 10 100 340 772/0 1 500
@PATH: 317/3 229/426 393/68 770/1 712/848 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.