GitShow/kelseyhightower/echo
kelseyhightower

echo

echo prints the first positional argument to stdout

by kelseyhightower
Star on GitHubFork

Assembly

59 stars4 forks1 contributorQuiet · 9y agoSince 2017Apache-2.0

Meet the team

See all 1 on GitHub →
kelseyhightower
kelseyhightower2 contributions

Languages

View on GitHub →
Assembly100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 9y ago
See all on GitHub →
palavrov
OptimisationsOpenIssue

If the goal is to write the code manually as small and elegant as possible then it can be improved IMHO :) It was long time since my last low level x86 codding (damn - 15-20 years?) and the code can be wrong but hope that you'll get the idea. Back then one of my favorite hacks were based on x86 instruction but in this case don's see any benefit to use it.

palavrov · 7y ago
ingve
fix typoOpenPR

Looks like the last "frist" was missed in 53d84ea.

ingve · 7y ago
Rotsor
Lift the 254-character limitOpenIssue

The current 254-character limit on the size of the output seems arbitrary and not useful. If the limit is to be kept (e.g. because it needs https://github.com/kelseyhightower/echo/issues/3 to be fixed to be lifted) then should exit non-zero when this limit is exceeded.

Rotsor · 9y ago

Recent fixes

View closed PRs →
AlexanderYastrebov
Exit with non-zero in case of failureClosedIssue

Command should return non zero code in case of failure From HN comment: ``

AlexanderYastrebov · 5y ago
AlexanderYastrebov
All arguments should be writtenClosedIssue

echo command prints all arguments, not just first one

AlexanderYastrebov · 5y ago
AlexanderYastrebov
Write syscall return value is not checkedClosedIssue

write syscall returns number of bytes written which could be different from argument string length

AlexanderYastrebov · 5y ago
Structured data for AI agents

Repository: kelseyhightower/echo. Description: echo prints the first positional argument to stdout Stars: 59, Forks: 4. Primary language: Assembly. Languages: Assembly (100%). License: Apache-2.0. Open PRs: 1, open issues: 2. Last activity: 9y ago. Community health: 42%. Top contributors: kelseyhightower.

·@ofershap

Replace github.com with gitshow.dev