TIP: Click on subject to list as thread! ANSI
echo: taglines
to: Dan Richter
from: mark lewis
date: 2019-03-20 13:00:40
subject: Random Taglines

On 2019 Mar 19 17:18:52, you wrote to me:

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

 DR> Thank you.

welcome :)

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

the main guts are the "sort -n | uniq" part... i still generally
go back through and look at the lines... especially since they're now
sorted and it is easier to find typos for things like exact same lines but
one has a typo period where the other has a proper comma...

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

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

yeah, in that one, it was easy... the next one, though, is a bit tougher...

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

they're not so bad... like learning .bat coding in DOS... they are a lot
more capable, though... kinda like using 4DOS with its enhanced scripting
capabilities... the other thing, though, is using the available tools... i
mainly write scripts so i don't have to remember all the steps and specific
command lines to do certain things...

)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin'
it wrong...
... No matter how clearly you speak, the deaf won't understand.
---
* Origin: (1:3634/12.73)
SEEN-BY: 14/5 15/0 19/36 34/999 90/1 104/57 116/18 120/331 123/140 153/7715
SEEN-BY: 218/700 220/60 222/2 229/426 230/150 152 250/1 261/38 100 266/512
SEEN-BY: 267/155 275/100 282/1031 1056 291/1 111 320/119 219 340/400 342/13
SEEN-BY: 396/45 633/0 267 280 281 412 640/1384 712/620 848 886 770/1 801/189
SEEN-BY: 2320/105 3634/12 5020/1042
@PATH: 3634/12 261/38 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™.