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

Here-doc delimiter without newline #174

Open
magicant opened this issue Jul 24, 2022 · 0 comments
Open

Here-doc delimiter without newline #174

magicant opened this issue Jul 24, 2022 · 0 comments
Labels
bug Something isn't working
Projects

Comments

@magicant
Copy link
Owner

$ printf '<<foo\nfoo' | cargo r
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
     Running `target/debug/yash`
error: The delimiter to close the here-document content is missing
 --> <stdin>:2:4
  |
1 | <<foo
  |   --- info: the redirection operator was here
2 | foo
  |     missing delimiter
  |

Like many other shells, yash-rs should accept this syntax.

@magicant magicant added the bug Something isn't working label Jul 24, 2022
@magicant magicant added this to To do in Main via automation Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Main
  
To do
Development

No branches or pull requests

1 participant