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
netencode-pretty(1) "netencode manual"

# NAME

netencode-pretty - Format netencode data for human readability

# SYNOPSIS

*netencode-pretty*

# DESCRIPTION

*netencode-pretty* reads netencode data from standard input and formats it 
as human-readable text with proper indentation and line breaks for debugging 
and inspection purposes.

This tool is essential for debugging netencode data streams and understanding 
the structure of complex nested data.

# OPTIONS

*netencode-pretty* takes no command-line arguments.

# INPUT

*netencode-pretty* reads a single netencode value from standard input. The 
input must be valid netencode format.

# OUTPUT

The tool outputs human-readable formatted text (not valid netencode) with:
- Proper indentation for nested structures
- Line breaks between record fields and list elements  
- Consistent spacing for readability

# EXIT STATUS

*0*
	Success

*1*
	Error reading input or invalid netencode format

# EXAMPLES

Format a compact netencode record:

```
echo '{49:<6:active|<4:true|u,<3:age|i:30,<4:name|t5:Alice,}' | netencode-pretty
```

Format nested structures:

```
echo '[42:{12:<4:name|t3:foo,}{12:<4:name|t3:bar,}]' | netencode-pretty
```

Use to inspect data during pipeline development:

```
some-data-source | tee >(netencode-pretty >&2) | next-step
```

# SEE ALSO

*netencode*(5), *netencode-record-get*(1), *json-to-netencode*(1), *netencode-filter*(1), *netencode-plain*(1), *netencode-mustache*(1)