79764711

Date: 2025-09-15 03:18:28
Score: 1.5
Natty:
Report link

# Correct way to write to stderr

grapa -c '$file().set($stderr, "Error\n")'

# Alternative: Using debug output (also goes to stderr)

grapa -c '"Error message".debug(3, "error")'

# Test both stdout and stderr

grapa -c '$file().set($stdout, "Normal output\n"); $file().set($stderr, "Error output\n")'

You may need to escape the $ character in the CLI command.

See the following for installing version 0.1.54
https://grapa-dev.github.io/grapa/installation/

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chris Matichuk