I’m on step 4 of the Build a Build Script tutorial and I’m getting this error message.
./script.sh: 5: ./script.sh: Syntax error: redirection unexpected
This is my script:
#!/bin/bash echo "🔥🔥🔥Beginning build!! 🔥🔥🔥" firstline=$(head -n 1 source/changelog.md) read -a splitfirstline <<< $firstline echo $splitfirstline
Perhaps the ‘<<<’ is generating issues?
I’ve seen the youtube video and it seems like I’m doing exactly what I’m told to do. What am I doing wrong?