No description
Find a file
2024-07-09 22:19:20 -04:00
c Makefile macos-keychain-unlock bugfix 2024-07-09 21:59:03 -04:00
rust Add rust version of echo. 2023-09-19 21:34:15 -04:00
.gitignore Overhaul for more generic ignores, prep... 2024-07-06 21:37:49 -04:00
LICENSE Add MIT license 2023-08-27 21:46:34 -04:00
README.md README note : code home 2024-07-09 22:19:20 -04:00

echo

FUNCTIONAL CLONE of Bash's built-in echo, except it ALWAYS HAS -e support (where Bash and even GNU echo can be put into POSIX mode with no -e support).

Code Home

Primary Development: https://gitlab.home.vollink.com/external/echo
Backup Location:     https://github.com/gavollink/echo

Rust and C

These are two completely different project folders. They are independent, and have been tested to be sure they behave the same way.

The approach was slightly different with each, partly because of the way Rust is very protective about variable ownership.

Requires...

The C version requires gcc gnu99 compatible compiler. That is any gcc on Linux or Apple OS X. On Apple OS X, you only need the Xcode Command Line Tools, not the whole Xcode package.

The Rust version requires cargo and rustc that supports spec 2021, though you may have luck adjusting that down, as this is my first Rust project, I've left it as is.

Differences...

The C echo is version 0.03. The Rust echo is version 0.0.2.

I've found no functional differences at all, and I do some silly tests.

More

See near identical README files in rust and c directories.