I am having trouble in step 3 of the last project in command line course.
Since we are creating a new build, let’s verify with the user that they have updated changelog.md with the current release version. The first line of the file contains a version number with markdown formatting like so: ## 1.1.1 Read the first line of this file into a variable firstline. You can use the linux command head for this purpose.
I can’t figure out the solution to this step, why do we have to use
firstline=$(head -n 1 source/changelog.md). The dollar sign is used to access the variable but here we are extracting first line of