Title |
Test
Find
gzip out of json Data in alfred / batman-adv server
|
Expression |
\x1f\x8b\x08\x00.+\x00\x00 |
Description |
regexp to get only gzip parts of alfred output.
on a shell you can pipe data which is gzip compressed.
on a Freifunk OPENWRT Gluonbased Router it looks like:
# /lib/gluon/announce/collect.lua nodeinfo | gzip | alfred -s 158; /lib/gluon/announce/collect.lua statistics | gzip | alfred -s 159; /lib/gluon/announce/collect.lua neighb |
Matches |
\x1f\x8b\x08\x00laber\x00\x00 | \x1f\x8b\x08\x00rhababer\x00\x00 | \x1f\x8b\x08\x00gelabere\x00\x00 |
Non-Matches |
\x1f\x8b\x08\x01laber\x00\x00 | \x1f\x8b\x08\x00rhababer\x00\x01 | \x1f\x8b\x08\x00ddddd\x01\x00 |
Author |
Rating:
Not yet rated.
viisauksena
|
Source |
http://www.open-mesh.org/projects/alfred/wiki |
Your Rating |
|