Coding echo in C from Scratch

Опубликовано: 15 Декабрь 2025
на канале: Daniel Hirsch
2,913
147

Implementing the bash "echo" command in C. Printing all arguments to the console, and even taking care of the "-n" option to disable appending the newline. We also confirm with md5sum that our own echo (myecho)'s output equals the original echo's output.

✘ Get Proton VPN to stay anonymous online (Black Friday Sale): https://go.getproton.me/SH27Q

✘ People keep asking for my terminal setup. Here it is: $9 → https://hirschdaniel.gumroad.com/l/da...

✘ Exclusive Content on Patreon (& Get all Projects as Source Code):
  / hirschdaniel  

✘ Learn to Code:
https://app.codecrafters.io/join?via=...

A BIG thanks goes out to my "Dev Supporter"-level Patreon nr.bln.