Skip to content

purpleidea/rederr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rederr

rederr is a small tool that invokes another command and propagates its stdout as-is and its stderr in ANSI red.

Just prefix any command line of your choice with rederr and it will make it easy for to figure out what is error and what is output.

Example:

# cat > test.sh <<EOF
#!/bin/sh

echo "This is going to stdout"
echo "And this is going to stderr" >&2
EOF

# rederr test.sh
This is going to stdout
And this is going to stderr

And yeah, GitHub-style Markdown doesn't really allow for colours. Let's just say the last line in the above output is now red.

About

Colour your stderr red

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.9%
  • Meson 7.3%
  • Shell 0.8%