Re: [Networker] nsradmin with shell script
2013-06-14 06:48:12
Thierry is correct, but his example may be a bit more complex than necessary. I
think something like this would also work:
echo "show name;client id \n print type:nsrclient;Storage Nodes:xxxxx") |
nsradmin -i - | while read LINE
do
echo "$LINE" >> /tmp/clientlist
done
The key to both solutions is that the read function re-combines continuation
lines.
|
|
|