...
6. No emoji inside code blocks, no inside code blocks
7. Original code MUST be exact
8. Use proper ` block. But wait - the original has `` tags inside this code block. My rules say:
"NEVER put inside a block. The copy-button will break and the code becomes invalid."
So I should strip the `` tags inside the code block. The actual content is just sample text showing the format. Let me strip the `` tags but keep the text. The `<` and `>` should be preserved as-is (they're already escaped).
Actually, looking more carefully, the format example uses `` brackets. The `<` and `>` are the escaped `` characters. I should preserve those. And the text inside the `` should just be the email-like text.
Let me write the code block content:
```
J. Random Developer
j-random-package
j-random-other
Diana Hacker
fun-package
more-fun-package
```
Wait, the original has `` tags around "AT". I should remove those too since they create HTML inside the code. Actually, looking at it, the `` tags are part of the original document's formatting to show "AT" as anti-spam (jrandom **AT** debian.org). I can keep that semantic meaning but since it's inside a code block, I should strip the `` tags. The link tags should also be stripped.
Let me draft the code block:
```
J. Random Developer
j-random-package
j-random-other
Diana Hacker
fun-package
more-fun-package
```
Hmm, but wait - the original has the description text saying "where package names are source packages by default". And the example shows email formatting. The example looks like literal output, so a code block makes sense.
Now for the options section, each option has:
- A flag like `-h, --help`
- A description paragraph
These are essentially labeled items. I could use `` for each option (since they have anchors like `sub--h-help`). But the rules say:
- Sub-sections within a section → with emoji prefix
So each option could be an ``. Let me use `` for each option.
Actually, looking at the original output format, the `-h, --help` is followed by an indented description. Treating each flag as a sub-section heading is appropriate.
Let me also think about the Quick Reference table:
| Use Case | Command | Description |
|----------|---------|-------------|
| Show help | `dd-list --help` | Print brief help message |
| Read from stdin | `dd-list --stdin` | Read package names from stdin |
| Use dctrl format | `dd-list --dctrl` | Read packages from control file format |
| Uncompress input | `dd-list --dctrl -z` | Uncompress gz/bzip2/xz before parsing |
| Custom sources | `dd-list --sources file` | Use specific Sources file |
| Include uploaders | `dd-list --uploaders` | List uploaders and maintainers |
| Maintainers only | `dd-list --nouploaders` | Only list maintainers |
| Binary names | `dd-list --print-binary` | Use binary names in output |
| Show version | `dd-list --version` | Print version |
Now for the 🚪 Exit Codes section - the original doesn't mention exit codes, so I won't add it.
Let me think about the structure:
```html
📛 NAME
dd-list - nicely list .deb packages and their maintainers
🚀 Quick Reference
...
📜 SYNOPSIS
dd-list [-hiusV] [--help] [--stdin] [--sources Sources_file] [--dctrl]
[--version] [--uploaders] [package ...]
📖 DESCRIPTION
dd-list produces nicely formatted lists of Debian (.deb) packages and their maintainers.
Input is a list of source or binary package names on the command line (or the standard input if --stdin is given). Output is a list of the following format, where package names are source packages by default:
J. Random Developer
j-random-package
j-random-other
Diana Hacker
fun-package
more-fun-package
This is useful when you want, for example, to produce a list of packages that need to attention from their maintainers, e.g., to be rebuilt when a library version transition happens.
⚙️ OPTIONS
❓ -h, --help
Print brief help message.
📥 -i, --stdin
Read package names from the standard input, instead of taking them from the command line. Package names are whitespace delimited.
📋 -d, --dctrl
Read package list from standard input in the format of a Debian package control file. This includes the status file, or output of apt-cache. This is the fastest way to use dd-list, as it uses the maintainer information from the input instead of looking up the maintainer of each listed package.
If no Source: line is given, the Package: name is used for output, which might be a binary package name.
📦 -z, --uncompress
Try to uncompress the --dctrl input before parsing. Supported compression formats are gz, bzip2 or xz.
📂 -s, --sources Sources_file
Read package information from the specified Sources_files. This can be given multiple times. The files can be gz, bzip2 or xz compressed. If the filename does not end in .gz, .bz2 or .xz, then the -z option must be used.
If no Sources_files are specified, dd-list will ask apt-get for an appropriate set of sources (if apt is at version greater than 1.1.8), else any files matching /var/lib/apt/lists/*_source_Sources will be used.
⬆️ -u, --uploaders
Also list developers who are named as uploaders of packages, not only the maintainers; this is the default behaviour, use --nouploaders to prevent it. Uploaders are indicated with "(U)" appended to the package name.
🚫 -nou, --nouploaders
Only list package Maintainers, do not list Uploaders.
📦 -b, --print-binary
Use binary package names in the output instead of source package names (has no effect with --dctrl if the Package: line contains source package names).
ℹ️ -V, --version
Print the version.
👤 AUTHOR
Lars Wirzenius <liw AT iki.fi>
Joey Hess <joeyh AT debian.org>
```
Wait, I need to check: the email links in the AUTHOR section are outside code blocks, so they should be preserved as-is. Good.
For the example output in DESCRIPTION, I need to strip the `` and `` tags since they're inside a code block. Let me also think about whether the `` part should have the brackets. The original uses `<` and `>` which become `` in rendering. In a code block, `` are fine as text characters. The trick is: should I use `<` and `>` or literal ``?
In HTML, inside a `` block, literal `` characters are technically valid text content (they're just displayed as-is). However, to be safe and per the rules:
"ANY < or > NOT part of an allowed HTML tag MUST be escaped as < and >"
So I should escape them. Let me use `<` and `>` in the code block.
Actually, looking at the code block content I'm writing, the `` are part of the example output (showing email format with `` around the address). They should be escaped.
Let me re-check the example output. The original is:
```
J. Random Developer <jrandom AT debian.org>
```
When I put this in a ``, I need to:
1. Strip the `` and `` tags
2. Keep the `<` and `>` (or convert them to literal `` since they're inside code)
Per the rules, ALL `` not part of allowed HTML tags must be escaped. The `` inside the code block are text content, not HTML tags. So they should be escaped as `<` and `>`.
So the code block content:
```
J. Random Developer <jrandom AT debian.org>
j-random-package
j-random-other
Diana Hacker <diana AT example.org>
fun-package
more-fun-package
```
Good.
Now let me also think about the `` path mentioned in `-s` option. That's just `/var/lib/apt/lists/*_source_Sources` - it's a path with asterisks and underscores, no `` issues. Good.
Let me also check the synopsis for any special characters. The synopsis has `[-hiusV]` and `[--help]` etc. - just brackets and dots, no ``. Good.
Now let me think about the Quick Reference table. The Command cells should use `` not ``. Let me finalize:
```html
Use Case Command Description
Show help dd-list --helpPrint brief help message
Show version dd-list --versionPrint version info
Read packages from stdin dd-list --stdinRead whitespace-delimited package names from stdin
Use dctrl format input dd-list --dctrlRead from apt-cache / status file (fastest method)
Uncompress dctrl input dd-list --dctrl -zDecompress gz/bzip2/xz input before parsing
Use specific sources file dd-list --sources fileRead package info from a custom Sources file
Include uploaders dd-list --uploadersList uploaders and maintainers (default)
Maintainers only dd-list --nouploadersOnly list Maintainers, not Uploaders
Show binary names dd-list --print-binaryUse binary package names in output
```
Now let me put it all together and do a final XSS check.
Actually, let me reconsider the INTRODUCTION. The original starts with:
```
DD-LIST(1) General Commands Manual DD-LIST(1)
```
This is the header line. I think I should preserve it. But the rules say "NEVER use " so I shouldn't make this a heading. Let me just include it as a plain paragraph at the top, or skip it. Actually, looking at this kind of man page header, it's typically just a header/footer element. I'll preserve it as a simple paragraph at the top.
Actually, looking at the input again, I see the very first line is:
```
DD-LIST(1) General Commands Manual DD-LIST(1)
```
And the last line is:
```
Debian 2011-10-27 DD-LIST(1)
```
These are header/footer lines from the man page rendering. I'll include them as-is.
Let me also think about the `` anchor tags. Should I preserve them? The rules say to preserve the original structure. I'll keep them but they're optional. I'll keep them for compatibility.
Wait, on second thought - looking at the original anchors like ``, these are tied to the section headings. When I replace the heading with ``, the anchor should remain linked. Let me put the anchor before the ``:
```html
📛 NAME
```
This preserves the anchor functionality.
Let me finalize:
```html
DD-LIST(1) General Commands Manual DD-LIST(1)
📛 NAME
dd-list - nicely list .deb packages and their maintainers
🚀 Quick Reference
...
📜 SYNOPSIS
dd-list [-hiusV] [--help] [--stdin] [--sources Sources_file] [--dctrl]
[--version] [--uploaders] [package ...]
📖 DESCRIPTION
dd-list produces nicely formatted lists of Debian (.deb) packages and their maintainers.
Input is a list of source or binary package names on the command line (or the standard input if --stdin is given). Output is a list of the following format, where package names are source packages by default:
J. Random Developer <jrandom AT debian.org>
j-random-package
j-random-other
Diana Hacker <diana AT example.org>
fun-package
more-fun-package
This is useful when you want, for example, to produce a list of packages that need to attention from their maintainers, e.g., to be rebuilt when a library version transition happens.
⚙️ OPTIONS
❓ -h, --help
Print brief help message.
📥 -i, --stdin
Read package names from the standard input, instead of taking them from the command line. Package names are whitespace delimited.
📋 -d, --dctrl
Read package list from standard input in the format of a Debian package control file. This includes the status file, or output of apt-cache. This is the fastest way to use dd-list, as it uses the maintainer information from the input instead of looking up the maintainer of each listed package.
If no Source: line is given, the Package: name is used for output, which might be a binary package name.
🗜️ -z, --uncompress
Try to uncompress the --dctrl input before parsing. Supported compression formats are gz, bzip2 or xz.
📂 -s, --sources Sources_file
Read package information from the specified Sources_files. This can be given multiple times. The files can be gz, bzip2 or xz compressed. If the filename does not end in .gz, .bz2 or .xz, then the -z option must be used.
If no Sources_files are specified, dd-list will ask apt-get for an appropriate set of sources (if apt is at version greater than 1.1.8), else any files matching /var/lib/apt/lists/*_source_Sources will be used.
⬆️ -u, --uploaders
Also list developers who are named as uploaders of packages, not only the maintainers; this is the default behaviour, use --nouploaders to prevent it. Uploaders are indicated with "(U)" appended to the package name.
🚫 -nou, --nouploaders
Only list package Maintainers, do not list Uploaders.
📦 -b, --print-binary
Use binary package names in the output instead of source package names (has no effect with --dctrl if the Package: line contains source package names).
ℹ️ -V, --version
Print the version.
👤 AUTHOR
Lars Wirzenius <liw AT iki.fi>
Joey Hess <joeyh AT debian.org>
Debian 2011-10-27 DD-LIST(1)
```
Let me do a final XSS check:
- `` inside code block → escaped to `<jrandom AT debian.org>` ✓
- `` inside code block → escaped to `<diana AT example.org>` ✓
- `` inside author paragraph - wait, it's part of an `` tag, that's fine
- `` similar
- `[-hiusV]` - literal brackets, no ``, fine
- `/var/lib/apt/lists/*_source_Sources` - no ``, fine
- "(U)" - no ``, fine
- "--dctrl" - no ``, fine
All good. Let me also check that the email links in AUTHOR section preserve the original ``:
- `liw AT iki.fi` is the original
- I keep it as `liw AT iki.fi` and surround with `<` and `>`
Actually wait, looking at the original:
```
Lars Wirzenius <liw AT iki.fi>
```
The `<` and `>` are outside the `` tag. So in my output, I should preserve this. The `
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:42 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)