I don't mind the change in itself but the problem is how do I handle this with a single line? Using 2 lines will not work as it will include the output in the config backup
So at first I thought I could use this, which detects if its v6 or not and then run 1 command or the other appropriately
Code: Select all
:if ([/system package get 0 version] ~ "^6") do={/export terse} else={/export terse show-sensitive}
Is there any way to handle this? I'm not sure if it there is a way to parse a string as command? Or any other way to handle this that is both V6 and V7 compatible?