Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
hiddentrue

The "count" key is the message number in a given file whereas "countTotal" is the message number in a set of files. The former gets reset for every input file on the command line but the latter keeps on increasing.

Info


The "count" key is the message number in a given file whereas "countTotal" is the message number in a set of files. The former gets reset for every input file on the command line but the latter keeps on increasing.
Here is an example:

Code Block
% grib_count -v file1 file2
      1 file1
      5 file2
      6 total
% grib_ls -p count,countTotal,shortName file1 file2
file1
count       countTotal  shortName
1           1           t
1 of 1 messages in file1

file2
1           2           msl
2           3           tcc
3           4           tcw
4           5           str
5           6           2t
5 of 5 messages in file2

6 of 6 total messages in 2 files

So the count for the 1st message of the 2nd file is 1 (reset) but countTotal is 2.



Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-information-article" and type = "page" and space = "UDOC"
labelskb-how-to-article

...