{
    "content": [
        {
            "type": "text",
            "text": "# derb(1) (man)\n\n**Summary:** derb - disassemble a resource bundle\n\n**Synopsis:** derb  [  -h,  -?,  --help ] [ -V, --version ] [ -v, --verbose ] [ -e, --encoding encoding ] [\n--bom ] [ -t, --truncate [ size ] ] [ -s, --sourcedir source ] [ -d, --destdir destination  ]\n[ -i, --icudatadir directory ] [ -c, --to-stdout ] bundle ...\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -? | --help | — | Print help about usage and exit. |\n| -V | --version | — | Print the version of derb and exit. |\n| -v | --verbose | — | Display extra informative messages during execution. |\n| -A | --suppressAliases | — | Don't follow aliases when producing output. |\n| -e | --encoding | — | Set the encoding used to write output files to encoding. The default encoding is the invariant (subset of ASCII or EBCDI |\n| -l | --locale | — | Set the locale for the resource bundle, which is used both in the generated text and as the base name of the output file |\n| -t | --truncate | — | Truncate individual resources (strings or binary data) to size bytes. The default if size is not specified is 80 bytes. |\n| -s | --sourcedir | — | Set the source directory to source. The default source directory is the current di‐ rectory. If - is passed for source,  |\n| -d | --destdir | — | Set the destination directory to destination. The default destination directory is specified by the environment variable |\n| -i | --icudatadir | — | Look for any necessary ICU data files in directory. For example, when processing col‐ lation overrides, the file ucadata |\n| -c | --to-stdout | — | Write the disassembled bundle on standard output instead of into a file. |\n\n## See Also\n\n- genrb(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (12 lines)\n- **OPTIONS** (1 lines) — 11 subsections\n  - -h -? --help (2 lines)\n  - -V --version (2 lines)\n  - -v --verbose (2 lines)\n  - -A --suppressAliases (2 lines)\n  - -e --encoding (8 lines)\n  - -l --locale (3 lines)\n  - -t --truncate (3 lines)\n  - -s --sourcedir (5 lines)\n  - -d --destdir (4 lines)\n  - -i --icudatadir (4 lines)\n  - -c --to-stdout (2 lines)\n- **CAVEATS** (5 lines)\n- **INVARIANT CHARACTERS** (4 lines)\n- **ENVIRONMENT** (4 lines)\n- **AUTHORS** (3 lines)\n- **VERSION** (2 lines)\n- **COPYRIGHT** (2 lines)\n- **SEE ALSO** (6 lines)\n\n## Full Content\n\n### NAME\n\nderb - disassemble a resource bundle\n\n### SYNOPSIS\n\nderb  [  -h,  -?,  --help ] [ -V, --version ] [ -v, --verbose ] [ -e, --encoding encoding ] [\n--bom ] [ -t, --truncate [ size ] ] [ -s, --sourcedir source ] [ -d, --destdir destination  ]\n[ -i, --icudatadir directory ] [ -c, --to-stdout ] bundle ...\n\n### DESCRIPTION\n\nderb  reads the compiled resource bundle files passed on the command line and write them back\nin text form.  The resulting text files have a .txt extension while compiled resource  bundle\nsource files typically have a .res extension.\n\nIt  is customary to name the resource bundles by their locale name, i.e. to use a local iden‐\ntifier for the bundle filename, e.g.  jaJP.res for Japanese (Japan) data,  or  root.res  for\nthe root bundle.  This is especially important for derb since the locale name is not accessi‐\nble directly from the compiled resource bundle, and to know which  locale  to  ask  for  when\nopening  the  bundle.   derb will produce a file whose base name is the base name of the com‐\npiled resource file itself.  If the --to-stdout, -c option is used, however, the text will be\nwritten on the standard output.\n\n### OPTIONS\n\n#### -h -? --help\n\nPrint help about usage and exit.\n\n#### -V --version\n\nPrint the version of derb and exit.\n\n#### -v --verbose\n\nDisplay extra informative messages during execution.\n\n#### -A --suppressAliases\n\nDon't follow aliases when producing output.\n\n#### -e --encoding\n\nSet  the encoding used to write output files to encoding.  The default encoding is the\ninvariant (subset of ASCII or EBCDIC) codepage for the system (see  section  INVARIANT\nCHARACTERS).   The  choice of the encoding does not affect the data, just their repre‐\nsentation. Characters that cannot be represented in the encoding will  be  represented\nusing \\uhhhh escape sequences.\n\n--bom  Write a byte order mark (BOM) at the beginning of the file.\n\n#### -l --locale\n\nSet  the  locale for the resource bundle, which is used both in the generated text and\nas the base name of the output file.\n\n#### -t --truncate\n\nTruncate individual resources (strings or binary data) to size bytes. The  default  if\nsize is not specified is 80 bytes.\n\n#### -s --sourcedir\n\nSet  the  source directory to source.  The default source directory is the current di‐\nrectory.  If - is passed for source, then the bundle will be looked for in its default\nlocation,  specified  by the ICUDATA environment variable (or defaulting to the loca‐\ntion set when ICU was built if ICUDATA is not set).\n\n#### -d --destdir\n\nSet the destination directory to destination.  The default  destination  directory  is\nspecified  by  the  environment  variable ICUDATA or is the location set when ICU was\nbuilt if ICUDATA is not set.\n\n#### -i --icudatadir\n\nLook for any necessary ICU data files in directory.  For example, when processing col‐\nlation  overrides,  the file ucadata.dat must be located.  The default ICU data direc‐\ntory is specified by the environment variable ICUDATA.\n\n#### -c --to-stdout\n\nWrite the disassembled bundle on standard output instead of into a file.\n\n### CAVEATS\n\nWhen the option --bom is used, the character U+FEFF is written in  the  destination  encoding\nregardless of whether it is a Unicode transformation format (UTF) or not.  This option should\nonly be used with an UTF encoding, as byte order marks are not meaningful  for  other  encod‐\nings.\n\n### INVARIANT CHARACTERS\n\nThe invariant character set consists of the following set of characters, expressed as a stan‐\ndard POSIX regular expression: [a-z]|[A-Z]|[0-9]|| |+|-|*|/.  This is the set which is guar‐\nanteed to be available regardless of code page.\n\n### ENVIRONMENT\n\nICUDATA  Specifies the directory containing ICU data. Defaults to ${prefix}/share/icu/70.1/.\nSome tools in ICU depend on the presence of the trailing slash. It is  thus  impor‐\ntant to make sure that it is present if ICUDATA is set.\n\n### AUTHORS\n\nVladimir Weinstein\nYves Arrouye\n\n### VERSION\n\n1.0\n\n### COPYRIGHT\n\nCopyright (C) 2002 IBM, Inc. and others.\n\n### SEE ALSO\n\ngenrb(1)\n\n\n\n\nICU MANPAGE                                  7 Mar 2014                                      DERB(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "derb",
        "section": "1",
        "mode": "man",
        "summary": "derb - disassemble a resource bundle",
        "synopsis": "derb  [  -h,  -?,  --help ] [ -V, --version ] [ -v, --verbose ] [ -e, --encoding encoding ] [\n--bom ] [ -t, --truncate [ size ] ] [ -s, --sourcedir source ] [ -d, --destdir destination  ]\n[ -i, --icudatadir directory ] [ -c, --to-stdout ] bundle ...",
        "flags": [
            {
                "flag": "-?",
                "long": "--help",
                "arg": null,
                "description": "Print help about usage and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Print the version of derb and exit."
            },
            {
                "flag": "-v",
                "long": "--verbose",
                "arg": null,
                "description": "Display extra informative messages during execution."
            },
            {
                "flag": "-A",
                "long": "--suppressAliases",
                "arg": null,
                "description": "Don't follow aliases when producing output."
            },
            {
                "flag": "-e",
                "long": "--encoding",
                "arg": null,
                "description": "Set the encoding used to write output files to encoding. The default encoding is the invariant (subset of ASCII or EBCDIC) codepage for the system (see section INVARIANT CHARACTERS). The choice of the encoding does not affect the data, just their repre‐ sentation. Characters that cannot be represented in the encoding will be represented using \\uhhhh escape sequences. --bom Write a byte order mark (BOM) at the beginning of the file."
            },
            {
                "flag": "-l",
                "long": "--locale",
                "arg": null,
                "description": "Set the locale for the resource bundle, which is used both in the generated text and as the base name of the output file."
            },
            {
                "flag": "-t",
                "long": "--truncate",
                "arg": null,
                "description": "Truncate individual resources (strings or binary data) to size bytes. The default if size is not specified is 80 bytes."
            },
            {
                "flag": "-s",
                "long": "--sourcedir",
                "arg": null,
                "description": "Set the source directory to source. The default source directory is the current di‐ rectory. If - is passed for source, then the bundle will be looked for in its default location, specified by the ICUDATA environment variable (or defaulting to the loca‐ tion set when ICU was built if ICUDATA is not set)."
            },
            {
                "flag": "-d",
                "long": "--destdir",
                "arg": null,
                "description": "Set the destination directory to destination. The default destination directory is specified by the environment variable ICUDATA or is the location set when ICU was built if ICUDATA is not set."
            },
            {
                "flag": "-i",
                "long": "--icudatadir",
                "arg": null,
                "description": "Look for any necessary ICU data files in directory. For example, when processing col‐ lation overrides, the file ucadata.dat must be located. The default ICU data direc‐ tory is specified by the environment variable ICUDATA."
            },
            {
                "flag": "-c",
                "long": "--to-stdout",
                "arg": null,
                "description": "Write the disassembled bundle on standard output instead of into a file."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "genrb",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/genrb/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-h -? --help",
                        "lines": 2,
                        "flag": "-?",
                        "long": "--help"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "-v --verbose",
                        "lines": 2,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "-A --suppressAliases",
                        "lines": 2,
                        "flag": "-A",
                        "long": "--suppressAliases"
                    },
                    {
                        "name": "-e --encoding",
                        "lines": 8,
                        "flag": "-e",
                        "long": "--encoding"
                    },
                    {
                        "name": "-l --locale",
                        "lines": 3,
                        "flag": "-l",
                        "long": "--locale"
                    },
                    {
                        "name": "-t --truncate",
                        "lines": 3,
                        "flag": "-t",
                        "long": "--truncate"
                    },
                    {
                        "name": "-s --sourcedir",
                        "lines": 5,
                        "flag": "-s",
                        "long": "--sourcedir"
                    },
                    {
                        "name": "-d --destdir",
                        "lines": 4,
                        "flag": "-d",
                        "long": "--destdir"
                    },
                    {
                        "name": "-i --icudatadir",
                        "lines": 4,
                        "flag": "-i",
                        "long": "--icudatadir"
                    },
                    {
                        "name": "-c --to-stdout",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--to-stdout"
                    }
                ]
            },
            {
                "name": "CAVEATS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "INVARIANT CHARACTERS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}