Xenon is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Xenon @XenonFiber

is there an easy way to pass input in a bash script? it's supposed to run automatically, so i can't be around to enter stuff when it asks, and it's always going to be the same info

· Web · 0 · 0

@XenonFiber
I usually do something like this : avoids some of the dopey stuff cat and echo do to string inputs:

$ /path/to/script<<EOF
input1
input2
input3
EOF