Skip to content

Commit

Permalink
Update Flux-User-Guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx authored Oct 7, 2024
1 parent ca9ec18 commit bf41982
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/flux/Flux-User-Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ Semicolons `;` mark the end of a variable assignment or flow definition.

A FLUX contains multiple command-moduls that are doing specific things. E.g.:

```C
"file/path.mrc"
| open-file -> This opens the file of the provided `file/path.mrc`-path.
| as-lines - This reads the file by lines.
| decode-marc21 -> This decodes the data as binary marc21 into an internal format.
| fix(FLUX_DIR + "fix-marc21.fix") -> This executes the provided Fix-transformation.
| encode-json(prettyPrinting="true") -> This encodes the transformed data as JSON-Format.
| write("stdout") -> This writes the Json-Data to standard output.
```c
"file/path.mrc" //-> Provides incoming sTring e.g. filepath.
| open-file //-> This opens the file of the provided `file/path.mrc`-path.
| as-lines //-> This reads the file by lines.
| decode-marc21 //-> This decodes the data as binary marc21 into an internal format.
| fix(FLUX_DIR + "fix-marc21.fix") //-> This executes the provided Fix-transformation.
| encode-json(prettyPrinting="true") //-> This encodes the transformed data as JSON-Format.
| write("stdout") //-> This writes the Json-Data to standard output.
;
``````

Expand Down

0 comments on commit bf41982

Please sign in to comment.