Networker

[Networker] nsradmin with shell script

2013-06-13 22:11:57
Subject: [Networker] nsradmin with shell script
From: bangrn <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 13 Jun 2013 19:05:34 -0700
Hi ,

 

when I run below command from shell scripting and out put to a file,

 

(echo :show name;comment";echo "p type:nsrclient;Storage Nodes:xxxxx") | 
nsradmin -i  - >> /tmp/clientlist

 

the $less /tmp/clientlist shows below output as an example:

 

name:xxxxxxx;

client id: \ 
ca3c9a8a-00000004-4e6e6100-4e6e60ff-00010c00-e28f8f29; 
 

Question:

 

How would I get below output instead of the above? I need to display client id 
in one line by removing the '\'; is this something to increase the display 
bufferring in the nsradmin?

 

name:xxxxxxxx;

client id: ca3c9a8a-00000004-4e6e6100-4e6e60ff-00010c00-e28f8f29; ;

 

thanks in advance

+----------------------------------------------------------------------
|This was sent by naga.bangaru AT citec.com DOT au via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------

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