[ILUG] grep or awk

Patton, Tony Tony.Patton at NWIFHE.AC.UK
Mon Sep 10 17:54:50 IST 2001


i haven't come across a hostname in the output yet.

-----Original Message-----
From: Aidan Kehoe [mailto:kehoea at parhasard.net]
Sent: 10 September 2001 17:33
To: Patton, Tony
Cc: ilug at linux.ie
Subject: RE: [ILUG] grep or awk 



 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