dynamic variable

Tags:

#1 djbenp

Hello, I want to know if it's possible to have a dynamic variable like that : if .... {
$1 = $2 ; } Thanks !

#2 Zhengshi Nxlog ✓
#1 djbenp
Hello, I want to know if it's possible to have a dynamic variable like that : if .... { $1 = $2 ; } Thanks !

Yes, you can reset a field value based on a condition.
I believe number based fields are saved for group matches in regex, but the concept you have seems accurate.