awk
yeah, command line utils!
prepend before each line
input:
what you want:
how to achieve this:
cat input | awk '{print "* " $0;}'
get odd and even lines
even:
odd:
cut / skip line
awk 'NR>1' # start after 1st line, use 2, 3 etc.
awk 'NR>1 {print $1}'