avleen/bashttpd

syntax error near unexpected token `<'

Closed this issue · 3 comments

server.sh: line 155: syntax error near unexpected token <' server.sh: line 155: read -r CONTENT_TYPE < <(file -b --mime-type "$file") && '

We're going to need more information. How are you running bashttpd? What version of bash are you using?

I apologize, I was executing "sh server.sh". It's fine when I use bash.
Please close.

Closing.