If you call birdc inside a script like so: /usr/bin/printf "show protocols all\nquit\n" | /usr/local/sbin/birdc | /bin/grep -A4 BGP | /bin/egrep "^R|Routes"
it doesn't appear paginate. This is how I collect the per peer prefix counts. -Stephen -----Original Message----- From: owner-bird-us...@atrey.karlin.mff.cuni.cz [mailto:owner-bird-us...@atrey.karlin.mff.cuni.cz] On Behalf Of Matthew Whittaker-Williams Sent: Thursday, February 10, 2011 8:46 AM To: bird-us...@trubka.network.cz Subject: birdc scripting Hey, I was wondering if the command line util birdc has a feature for setting the terminal length spacing. Like with quagge or most routers terminal length 0 DECIMAL Number of lines, or zero to disable paging Thanks in advance, Kind regards, Matthew -- News-Service.com - European Usenet Provider Luttenbergweg 4, 1101 EC Amsterdam P.O BOX: 12026 1100 AA, Netherlands http://www.news-service.com +31(0)20 398 1111 ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. ______________________________________________________________________