ECHO(1B)

πŸ“¦ version 070715, in nixos 26.05, nixpkgs unstable

πŸŽ€ ECHO(1B) πŸŽ€

okay bestie, welcome to the BSD System Compatibility manual page for ECHO(1B) β€” yes, it's the (BSD) echo situation, and it's honestly iconic in the most lowkey way. πŸ¦‹


πŸ’– NAME πŸ’–

echo β€” it's the (BSD) flavor of echoing arguments. That's the name section, periodt. πŸ’…


✨ SYNOPSIS ✨

/ucb/echo [argument ...]

so you run it from /ucb/echo, and you can pass argument ... β€” yes, multiple arguments are allowed, no cap. 🫢


🌸 DESCRIPTION 🌸

Okay so here's the whole vibe: echo writes its arguments separated by blanks and terminated by a newline on the standard output. That's literally the main character move. ✨

It's useful for producing diagnostics in shell programs and for writing constant data on pipes. Very "I'm helping" energy, fr fr. πŸ”₯

And if you wanna send those diagnostics to the standard error file instead, do this exact little redirect:

echo ... 1>&2

slay, redirect queen. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

  • printf(1) β€” that's the other page to check out. πŸ‘‘

πŸŽ€ NOTES πŸŽ€

Portability tea time, bestie: it's recommended for portability that printf(1) is used instead of echo if backslashes are to be printed or if the trailing newline is to be omitted. That's the whole note β€” don't skip it. 🌈

xoxo, signed and slayed by Heirloom Toolchest β€” date 7/2/05, filed under ECHO(1B) πŸ«ΆπŸ’Œ

πŸ“¦ where this page comes from