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

the cat EOF problem #59

Open
shadichy opened this issue Nov 24, 2022 · 3 comments
Open

the cat EOF problem #59

shadichy opened this issue Nov 24, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@shadichy
Copy link

cat EOF is a method to write text to file that allows line breaks passing

yes I can replace it with hundreds of echo lines, but this method is bruh and time-wasting, and obviously cat EOF is the fastest and easiest way to write large amount of text to file

@daniel-sc
Copy link
Owner

@shadichy do you have an idea what the expected output should be? A quick search on my side was not really conclusive - see e.g. https://stackoverflow.com/questions/1015163/heredoc-for-windows-batch

@daniel-sc daniel-sc added the enhancement New feature or request label Nov 24, 2022
@shadichy
Copy link
Author

@daniel-sc yet i have no idea

btw did you have a look at this question?

@daniel-sc
Copy link
Owner

Hm - but this as well screams "there is no simple / straight forward / general way".
Furthermore the upstream parser that is used in this project does not support this - see vorpaljs/bash-parser/issues/52 (it might be possible after doing #64 - but not sure if this ever ships..)

Of course I'd be open to any contribution :)

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

No branches or pull requests

2 participants