birdc: using command output in scripts

Ondrej Zajicek santiago at crfreenet.org
Sun Jul 31 23:49:21 CEST 2011


On Wed, Jul 27, 2011 at 11:26:23AM +0400, Alexander V. Chernikov wrote:
> Hello list!
>
> It is more or less useful to see 'BIRD X.X.X ready.' after cli starts.
>
> However, birdc is sometimes used in non-interactive way (like 'birdc  
> configure' or 'birdc show route table XXXX for YYY'). Getting such  
> string (in STDOUT, as other data) with command output is inconvenient.
>
> This behavior can be fixed with very trivial patch. Can someone consider  
> getting it added to the tree?

Yes, this is a good idea. But as everybody who already uses birdc
non-interactively probably skips the first line, i would merge it with
the next major release.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20110731/8d9226d4/attachment-0001.asc>


More information about the Bird-users mailing list