Bash Drukuj nieparzyste lub nawet linie

# Basic syntax:
sed -n 'n;p' input_file # Print even numbered lines
sed -n 'p;n' input_file # Print odd numbered lines
Charles-Alexandre Roy