Team, any hint? unable to export file contents as var in bash. I am expecting all the below list is add to the var with a space.
# cat /tmp/svc
src/cmd
src/common
src/cue
src/pipelines
src/resources
src/services
src/tests
src/ui
# export testvar=$(cat /tmp/svc)
/bin/sh: 41: export: src/common: bad variable name
expected
testvar="src/cmd src/common src/cue...."