result.conf However it's indenting the first line and showing this error: warning: h" /> result.conf However it's indenting the first line and showing this error: warning: h" /> result.conf However it's indenting the first line and showing this error: warning: h"/>

Bash <<EOF showing warnings

35 Views Asked by At

I want to run this command

eval "cat <<EOF
$(cat /input.conf)
" > result.conf

However it's indenting the first line and showing this error:

warning: here-document at line 28 delimited by end-of-file (wanted `EOF')

How can I get this to not indent the first line as well as fix the warning?

0

There are 0 best solutions below