ppp secret print only in remote range

Hi,
I want to search and print to file only when remote-address is in a specific ip address block range.
I tried with the “~” instead of “=” but this does not work.
ppp sec print detail without-paging where remote-address~172.16
Any suggestions please

just ask!

in

/ppp secret print detail without-paging file=results where remote-address in 172.16.0.0/12

not in

/ppp secret print detail without-paging file=results where !(remote-address in 172.16.0.0/12)

or

/ppp secret print detail without-paging file=results where (remote-address in 172.16.0.0/12) or (remote-address in 192.168.0.0/10)

Where you want this results, only on file?
Or you must use it on script?
PRINT DO NOT BE USED ON SCRIPT (except some minimal cases)

Thanks a lot !! Just what I needed. Its a recurring 5 min script to my internal Linux box for personnel web page. All is in secure (behind firewall) environment.
Web page is to generate sites up, sites down, etc.
Regards,
Tom