| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Nodelist query tool for Linux |
14 Jun 15 13:54, you wrote to me: NB>>> cat nodelist.000 | grep 'user_name' ml>> grep it directly and save a step plus resources ;) NB> I don't care much for saving resources on a 6-core machine with NB> hyperthreading and 16gb ram. me either, really... not on this box with 8 4ghz cores and 16gb RAM... don't care about that hyperthreading mess, either ;) O:) ml>> grep -Ei -e ",nicholas_boel," fido/nodelist/nodelist.145 ml>> then one can also get more specific looking in specific fields... for ml>> example, i know they're in wisconsin and the node number i'm looking ml>> for starts with a '7'... ml>> grep -Ei -e ".*,7.*,.*_wi,nicholas_boel," ml>> fido/nodelist/nodelist.145 ml>> ,701,Dark_Sorrow,Pewaukee_WI,Nicholas_Boel,-Unpublished-,300,CM,MO,INA ml>> :binkp.pharcyde.org,IBN:24555 ,702,Mystic_Test_System,Pewaukee_WI,Nich ml>> olas_Boel,-Unpublished-,300,CM,INA:binkp.pharcyde.org,IBN:24556 NB> More than one way to skin a cat and I went with the easiest, but thanks for NB> yet another one-upping. :) it wasn't one-upping... at least it wasn't intended that way... pure grep is, actually, the easiest since it doesn't involve any other tools... it is the easiest in this case when one is just looking for the line in question... i have some real doozies here that use cut, uniq, sort and a couple of others feeding and being fed from grep... long arsed command lines with numerous pipes... i'm glad i saved them to a script ;) )\/(ark ... Don't do it if you can't keep it up. ---* Origin: (1:3634/12.73) SEEN-BY: 203/0 633/267 280 640/384 1384 712/620 848 770/1 @PATH: 3634/12 123/500 154/10 203/0 640/384 712/848 633/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™.