quick question any better ways of doing this
expect -f <(cat <<EOF
...
EOF
)
I've started using <(cat <<EOF
EOF
)
as an alternative to using mktemp and then having to clean them up. Just wondering if I'm missing a cleaner approach to this?
or even
expect -f <(cat <<< "${ExpectScript}" )
cheers
ps. I don't want to use stdin to the program to pass the data.