Networker

[Networker] nsradmin query for empty strings

2005-10-19 07:59:13
Subject: [Networker] nsradmin query for empty strings
From: IT-Administration ST <admin.st AT KVBAWUE DOT DE>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 19 Oct 2005 13:41:14 +0200
Hello dear fellow-networkers,

getting more and more familiar with nsradmin I discovered a way how to do a 
nsradmin query for empty strings. This I would like to share with you. 

Example for Solaris:

   echo " . type: nsr client; remote access:\nshow name\nprint" | nsradmin -i - 
| pg

This query will show the names of every nsr client where nothing is assigned  
to "remote access".


     Freundliche Grüße / Kind regards

   Roman Böhm

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>