remove use of deprecated nfdc syntax and update output processing

change all calls to nfd-status to nfdc

(except test_nfdc)

refs #4058

Change-Id: I4205602d180f5cb5c64e9883e79d5deb518533ad
diff --git a/test_nrd/README.md b/test_nrd/README.md
index a428080..2fd41a8 100644
--- a/test_nrd/README.md
+++ b/test_nrd/README.md
@@ -2,8 +2,8 @@
 
 1. Modify $HOME/.ndn/client.conf to choose "protocol=nrd-0.1".
 2. Start NFD.
-3. Run nfd-status to obtain FIB.
+3. Run nfdc to obtain FIB.
 4. Start ndn-traffic-server; configuration has one or more non-overlapping prefixes.
-5. Run nfd-status to obtain FIB. Compare new FIB to the FIB from step 3, and determine whether FIB entry is inserted
+5. Run nfdc to obtain FIB. Compare new FIB to the FIB from step 3, and determine whether FIB entry is inserted
 6. Stop ndn-traffic-server.
-7. Run nfd-status to obtain FIB. Compare new FIB to the FIB from step 5, and determine whether FIB entry is deleted
+7. Run nfdc to obtain FIB. Compare new FIB to the FIB from step 5, and determine whether FIB entry is deleted
diff --git a/test_nrd/nrd-test.sh b/test_nrd/nrd-test.sh
index 83407fb..c273628 100755
--- a/test_nrd/nrd-test.sh
+++ b/test_nrd/nrd-test.sh
@@ -11,7 +11,7 @@
 
 # check fib before server starts
 echo "checking fib before server starts..."
-fib=$(nfd-status -b)
+fib=$(nfdc fib list)
 res=$(echo $fib | grep '/test-nrd/A' | wc -l)
 if [[ $res -ne 0 ]]
 then
@@ -33,7 +33,7 @@
 
 # check fib after server starts
 echo "checking fib after server starts..."
-fib=$(nfd-status -b)
+fib=$(nfdc fib list)
 res=$(echo $fib | grep '/test-nrd/A' | wc -l)
 if [[ $res -ne 1 ]]
 then
@@ -56,7 +56,7 @@
 
 # check fib after server stops
 echo "checking fib after server stops..."
-fib=$(nfd-status -b)
+fib=$(nfdc fib list)
 res=$(echo $fib | grep '/test-nrd/A' | wc -l)
 if [[ $res -ne 0 ]]
 then