I have the following code snippet in a Makefile that always fails if I do not remove the links to sed and grep below.
TAB=$(shell printf "\t") all: abstract.tsv $(shell cut -d "${TAB}" -f 3 abstract.tsv | sed "s/^\s*//" | \ sed "s/\s*$//" | grep -v "^\s*$" | sort -f -S 300M | \ uniq > referenced_images.sorted.tsv)
This is the error I get:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"' /bin/bash: -c: line 1: syntax error: unexpected end of file
What could be wrong?
source share