In my bash, I wish to delete lines from 1 to ${number}, like this:
number=10
sed '1,${number}d' myfile
It failed with syntax error. I also tried "\${number}", '"$number"', neithers works
I changed to double quote, it works under command line, but not inside bash script file. How to make it work?