Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve echo #45

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Improve echo #45

merged 2 commits into from
Mar 5, 2024

Conversation

fischerling
Copy link
Contributor

@fischerling fischerling commented Mar 2, 2024

  • Remove environment expansions (This is the shell's job)
  • Support escape sequences

This should be merged after !43 especially after cada224.

Expanding environment variables in the command line is the shell's job.
Support suppressing the final newline with the '-n' option.
Expand backslash escapes when '-e' is specified.

Both options must occur before any other word.

Currently only \n is expanded.
@Galfurian Galfurian merged commit fcafbb5 into mentos-team:develop Mar 5, 2024
17 checks passed
@fischerling fischerling deleted the improve-echo branch March 14, 2024 17:49
@Galfurian Galfurian added the enhancement New feature or request label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants