I\'m trying to print every nth line from file, but n is not a constant but a variable.
n
For instance, I want to replace sed -n \'1~5p\'
sed -n \'1~5p\'
why a sed ?
head -${i} YourFile