sorry for asking so seemingly silly questions but i am complete newbie to scripting on ROS. i have tried what you mentioned above on the command line. only why is it a difference if i type the ip address directly into the line and on the other hand if i obtain it from the result of a command ? here my example concerning the queue named 'queue111'
[admin@Colla01] > :local IP [/queue simple get queue111 target-addresses];:local STRIPPED [:pick $IP 0 [:find $IP "/"]];:put $STRIPPED;
[admin@Colla01] > :local IP "10.27.99.102/32";:local STRIPPED [:pick $IP 0 [:find $IP "/"]];:put $STRIPPED;
should not both give an ip address stripped of the netmask ?
here the queue in question:
[admin@Colla01] > queue simple print where name=queue111
Flags: X - disabled, I - invalid, D - dynamic
1 ;;; NAME_abcemail@example.com!99#2566013908
name="queue111" target-addresses=10.27.99.102/32 dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8 queue=default/default
limit-at=0/0 max-limit=0/0 burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small