/usr/share/rmagic/lang/.root/cdata.ini is in rmagic 2.21-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 | # -------------------------------------------------------------------
# cdata.ini
#
# Root file -- contains settings for columns and lines in the
# General Summary, but no language elements. Must be inherited
# by an language file.
#
# Last Updated: 14 February 2003 By: JW/WADG
# -------------------------------------------------------------------
#
# NOTES ON THE SETTINGS
#
# Type
# This field tells Report Magic a little about how to present the column's
# contents. Valid types are as follows:
# Data Will be shown in a table (default)
# Filter This is some kind of filter or sort information (like
# FLOOR or SORT) and is written as plain text. Filter columns
# are handled with a series of regular expression matches. This
# is descibed below with the [f] column.
# Index This type of column will set the Index number for the row. e.g. [N_]
# Level This type of column gives a level in a hierarchical report. e.g. [l]
#
#
# NumberFormat
# All columns can now be given a number format for formatting. Without a format
# the number is shown normally. For percentage values a format of '#.#%' will
# display the number with a localized percent sign after the value. See
# docs/numfmt.html for details on the format spec.
#
# Width
# This tells the CRO parser how many columns wide the column specifier is. For
# example, the [D_] column actually has 5 columns of data so its width is 5.
# -------------------------------------------------------------------
#
# General Summary Report Lines
#
[HN]
[HU]
[PS]
[FR]
[LR]
# - This has been deprecated but should remain for backwards compatibility
[L7]
[E7]
[SR]
Format = number:#
[S7]
Format = number:#
[PR]
Format = number:#
[P7]
Format = number:#
[FL]
Format = number:#
[F7]
Format = number:#
[RR]
Format = number:#
[R7]
Format = number:#
[NC]
Format = number:#
[C7]
Format = number:#
[NF]
Format = number:#
[N7]
Format = number:#
[NH]
Format = number:#
[H7]
Format = number:#
[CL]
Format = number:#
[UL]
Format = number:#
[BT]
Format = bytes
[B7]
Format = bytes
[VE]
#
# Standard Reports Column Letters
#
[R_]
Type = Data
NumberFormat = #
[r]
Type = Data
NumberFormat = #.#%
[S_]
Type = Data
NumberFormat = #
[s]
Type = Data
NumberFormat = #.#%
[P_]
Type = Data
NumberFormat = #
[p]
Type = Data
NumberFormat = #.#%
[Q_]
Type = Data
NumberFormat = #
[q]
Type = Data
NumberFormat = #.#%
[B_]
Type = Data
Format = bytes
[b]
Type = Data
NumberFormat = #.#%
[C_]
Type = Data
Format = bytes
[c]
Type = Data
NumberFormat = #.#%
[D_]
Type = Data
Width = 5
[d]
Type = Data
Width = 3
[E_]
Type = Data
Width = 5
[e]
Type = Data
Width = 3
[N_]
Type = Index
[l]
Type = Level
# ------------------------------------------------------------
# These filters use a slightly different set of options than other columns.
# Filters will parse their data value and output a text description. For
# each filter you can have any number of Columns specified by Width.
# Each Column can have any number of Matches, LongNames and Result sets:
#
# ColX_MatchX The Regular Expressions (without //) to match the contents
# of the filter data.
# ColX_LongNameX The basic text of the output string for the corresponding
# filter match. Replacements from the matches are %1-%9
# ColX_ResultX_n The replacement text (if any) for the matched variables. The
# format for this matchset[tab]output text. If no result set is
# given, then the match variable is outputted as listed. If a
# result line starts with the [tab] then that will be used when
# no match is made in the set.
# ------------------------------------------------------------
#
# FLOOR and SORTBY (cols 1 and 2)
#
[f]
Type = Filter
# Need this to keep the CRO splitter happy
Width = 2
#
# FLOOR
#
Col1_Match1 = ^\-(\d+)([RBPrbp])
Col1_Match2 = ^0([\%\:]?)([kMGT]?)([RBPrbp])
Col1_Match3 = ^1([\%\:]?)([RPrp])
Col1_Match4 = ^1([kMGT]?)[Bb]
Col1_Match5 = ^(\d+\.?\d*)([\%\:]?)([kMGT]?)([RBPrbp])
Col1_Match6 = ^(\d\d)(\d\d)(\d\d)[Dd]
Col1_Match7 = ^(-|\+)(\d\d)(-|\+)(\d\d)(-|\+)(\d\d)[Dd]
#
# SORTBY
#
Col2_Match1 = ^([rspqbcdax])
#
# REPORTSPAN adds these columns to each report
#
[*FR]
Type = Filter
Width = 5
Saved = 0
[*LR]
Type = Filter
Width = 5
Saved = 0
#
# Time reports in Analog 5 have a largest time value (up to 5 fields)
#
[*BT]
Type = Filter
Width = 5
Saved = 2
#
# Quick Summary Column Letters
#
[T_]
[H_]
[h]
NumberFormat = #.#%
|