Given
cat > a.csv <<EOF
No,Name,Minutes,Points
1,DNE (2),16,1
2,Eberhard Lisse,33,1
EOF
qsv luau map newpoints "if string.find(Name,'Eberhard Lisse') then return 0 else return Points end" a.csv
returns
No,Name,Minutes,Points,newpoints
1,DNE (2),16,1,1
2,Eberhard Lisse,33,1,0
which is what I expected
but
qsv luau map newpoints "if string.find(Name,'DNE (2)') then return 0 else return Points end" a.csv
returns
No,Name,Minutes,Points,newpoints
1,DNE (2),16,1,1
2,Eberhard Lisse,33,1,1
which is unexpected.
What am I doing wrong?
QSV 9.1.0 on Mac Tahoe 26.1
Given
qsv luau map newpoints "if string.find(Name,'Eberhard Lisse') then return 0 else return Points end" a.csvreturns
which is what I expected
but
qsv luau map newpoints "if string.find(Name,'DNE (2)') then return 0 else return Points end" a.csvreturns
which is unexpected.
What am I doing wrong?
QSV 9.1.0 on Mac Tahoe 26.1