Is there anyway to use a variable after a / character. I’m trying to do something like this"
ip add set [find comment=static] address=staticip/$staticsub
That obviously doesn’t work. Any help would be appreciated.
Thanks,.
Is there anyway to use a variable after a / character. I’m trying to do something like this"
ip add set [find comment=static] address=staticip/$staticsub
That obviously doesn’t work. Any help would be appreciated.
Thanks,.
It should if you surround the whole thing with quotes, e.g.
set [find comment=static] address="staticip/$staticsub"
Thank you.