Hello,
You need a backslash to tell the script to escape the normal use of the next character. Try this:
while read line; do echo -e "${"${line:21}"/\//-}"; done < Albums-linux.txt
rch1231
Veteran Poster
1,040 posts since Sep 2009
Reputation Points: 142
Solved Threads: 154
Skill Endorsements: 12
Question Answered as of 1 Year Ago by
Gromit
and
rch1231