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

Use here string instead of here document single line stdin #575

Open
pdawyndt opened this issue Dec 17, 2024 · 0 comments
Open

Use here string instead of here document single line stdin #575

pdawyndt opened this issue Dec 17, 2024 · 0 comments

Comments

@pdawyndt
Copy link
Contributor

pdawyndt commented Dec 17, 2024

TESTed uses a here document to redirect both single line strings and multiline strings to stdin. For single line strings, the representation looks cleaner if a here string is used. So

$ script arg1 arg2 << 'STDIN'
single line input
STDIN

could be displayed as

$ script arg1 arg2 <<< 'single line input'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant