Subj : Random Taglines To : Dan Richter From : mark lewis Date : Wed Mar 20 2019 13:00:40 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) .