Using the command line¶
This manual is for whoever runs sdb-reader and reads what it prints. It
needs no programming. The same manual in German: Bedienung.
The manual is also on the web with the rest of the documentation, at https://foerdebaumarkt.github.io/sdb-reader/, one edition per released version of the program.
sdb-reader reads PDF files and says for each one whether it is a German
safety data sheet (Sicherheitsdatenblatt) and, if it is, what the sheet says:
the label, the classification, dates, the supplier, and what is wrong with
the sheet as a document. It does this by fixed rules, without a language
model, so the same file always gives the same result.
Page |
What it answers |
|---|---|
What do I need, and how do I get the command? |
|
How do I read one file or a folder, and what do the exit codes mean? |
|
How do I get a report I can read myself, for one file or a folder? |
|
How do I read thousands of files, continue a run and leave files out? |
|
What does each part of the result say? |
|
What is the file some PDFs carry inside, and how do I get it out? |
|
How do I get a second reading from a model, what is sent where, and how do I keep the answers? |
|
Where does a model read a sheet otherwise than the program, and what did a change to the program do? |
|
Which messages are there, and what does each say? |
|
What do I do when the result is not what I expected? |
The command has five subcommands:
Subcommand |
Does |
|---|---|
|
reads files and prints what they say, as JSON |
|
reads files and prints what they say, as a report to read |
|
hands out the file a supplier’s system embedded in a PDF |
|
asks a language model what each sheet says and keeps its answers |
|
sets two runs of |