
linux select specific characters from text file
[Please support Stackprinter with a donation]
[-1] [1]
blueStar
[2020-10-11 22:46:40]
[
bash
ubuntu
]
[ https://unix.stackexchange.com/questions/614031/linux-select-specific-characters-from-text-file ]
If i have a text file with the line qwertyuiop,
how can i select the first character and after that each characters by jumps of 2 without using more than 1 pipe in my command ?
In qwertyuiop i would have qetuo printed in the cmd.
[0]
[2020-10-11 22:55:04]
waltinator
Read man cut, and
cut -c1,3,5,7,9 text.file
1