This is what I'm attempting to do:
/ip arp pr | grep aaa.bbb.ccc
how do I do this in mikrotik syntax?
Me too. MT has to keep in mind that not everybody is a programmer. In stressful support situation, an easier and a more efficient powerful CLI matters more.Nevermind, found my answer here: http://forum.mikrotik.com//viewtopic.ph ... light=grep
I found it easier to do a "pr file=abc" and ftp the file to a linux box and run cat abc | grep expression
I too second a similar implementation of grep!
Just a quick aside, but there is no need to cat the file and pipe it to grep on any Unix/Linux variant I've ever seen. You can simply use: grep expression abc
I found it easier to do a "pr file=abc" and ftp the file to a linux box and run cat abc | grep expression)
Of course it is required in order to earn the "useless use of cat award".Just a quick aside, but there is no need to cat the file and pipe it to grep on any Unix/Linux variant I've ever seen.