Skip to content

Commit

Permalink
Merge pull request #9 from Giermann/patch-3
Browse files Browse the repository at this point in the history
fix write definitions with returned data [thanks Sven!]
  • Loading branch information
john30 committed Nov 25, 2015
2 parents 428cfb7 + baf03e6 commit da19e7a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contrib/scripts/makegrabcsv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ END {
printf substr(id,1,idlen*2) ",,," zz "," pbsb "," substr(id,1,idlen*2)
if (length(id)/2>idlen)
printf ",data,,HEX:" (length(id)/2-idlen)
else
printf ",,,"
if (len[i]>1)
printf ",result,s,HEX:" (len[i]-1)
printf ",,,,result,s,HEX:" (len[i]-1)
print ""
} else {
printf "r,unknown" zz ","
Expand All @@ -63,4 +65,4 @@ END {
}
}
}
'|uniq
'|sort|uniq

0 comments on commit da19e7a

Please sign in to comment.