EVL – QVD Utils

Table of Contents


Products, services and company names referenced in this document may be either trademarks or registered trademarks of their respective owners.

Copyright © 2017–2020 EVL Tool, s.r.o.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.

qvd2evd

(since EVL 2.4)

Read header of <file.qvd> or standard input, guess data types, and write EVD to standard output or to <file.evd>.

Synopsis

syntax/qvd2evd
qvd2evd
  [<file.qvd>] [-o|--output=<file.evd>]
  [--inline]
  [-d|--date=<format>]
  [-l|--null=<string>]
  [-q|--quote=<char>]
  [-r|--record-separator=<char>]
  [-s|--field-separator=<char>]
  [-t|--datetime=<format>]
  [-v|--verbose]

qvd2evd
  ( --help | --usage | --version )

Options

-d, --date=<date_format>

use format argument for date data type

--inline

output EVD in the inline format (for example to use EVD by other component with ‘-d’ option)

-l, --null=<string>

to specify what string is used for NULL values in QVD, empty string is allowed

-o, --output=<file.evd>

write output into file <file.evd> instead of standard output

-q, --quote=<char>

to use a quote argument in EVD

-r, --record-separator=<char>

use ‘sep="<char>"’ for last field

-s, --field-separator=<char>

use ‘sep="<char>"’ for each field

-t, --datetime=<format>

use format for datetime data type

-v, --verbose

print to STDERR info/debug messages

--help

print this help and exit

--usage

print short usage information and exit

--version

print version and exit

Examples

  1. Having ‘some.qvd’, this command:
    qvd2evd --null -r '\n' -s ';' -d '%d.%m.%Y' some.qvd
    

    will produce:

    id       int              null="" sep=";"
    started  date("%d.%m.%Y") null="" sep=";"
    value    string           null="" sep="\n"