]> git.proxmox.com Git - mirror_frr.git/commit
lib: add cli preprocessor for `|` actions
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 13 May 2018 00:14:22 +0000 (20:14 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 6 Jun 2018 16:15:34 +0000 (16:15 +0000)
commitfe6b47b9e90c532ad0c80914f42b1856eebae154
tree83095321e768cdf7eaf74d454e9556c2d829299f
parent01e24c4a69767eb12d3c23c9f8b58063cb04f4e1
lib: add cli preprocessor for `|` actions

This patch adds a CLI preprocessor function that activates when `|` is
found in the command. This is the start of adding support for some text
processing utilities intended for inline use. The first one implemented
here is `| include`, which provides grep-like filtering of command
output.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command.c
lib/version.h.in
lib/vty.c
lib/vty.h