[ILUG] grep or awk

Aidan Kehoe kehoea at parhasard.net
Mon Sep 10 17:32:34 IST 2001


 Ar an 10u la de mi 9, scriobh Patton, Tony :

 > there is no plan to upgrade anytime soon.
 > 
 > the reason that i am looking to do this is that we have a lot of users
 > who connect to an oracle database over telnet and print by going thru a
 > menu of printers.
 > 
 > this list is getting crowded, (about 8 or so), so i want to provide
 > different menus for the users depending on their ip address. ie
 > 172.200.20.x = mis printers, 172.200.30.x = administration printers.

Could be ugly if they're logging on from someplace that shows up as a
hostname, not an IP address. But I suppose your default case will
cover that. 

-- 
`... when the elephant man broke strong men's necks, when he'd had too 
many Powers, ...'




More information about the ILUG mailing list