Left to Prove /bloom
Utility catalogue

System and processes ยท GNU extension

printenv

Read a single environment value

Open2,000 seeds

Proof brief

Invocation
printenv NAME
Input domain
Use one nonempty variable name without equals, NUL, or leading hyphen. Model a finite map with unique variable names.
Proof obligation
If NAME is present, write exactly its value followed by LF and return 0. For a missing name, return 1 with empty output.
Test cases
Empty, absent, multiline, and similarly named values.
Outside this profile
Bulk environment output, multiple names, and alternate delimiters.

Subtasks and prerequisites

Read obligations JSON

This target needs root.io (proved).

Task bundle

Read bundle JSON

A formal Rocq statement has yet to be published for this profile.

This target has no verifier yet. Add targets/printenv/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/printenv/verify.sh.

GitHub submissions

See the review queue

View GitHub pull requests for the current status.

View GitHub pull requests