perl -snlE "say if $.~~[eval$R]" -- -R="2,3..5" linenumber.txt