Need help to display increment odd & even lines in a text file to screen.
Textfile
10101
AsPO4IF+tGU=
01010
WvTzUYrxvXY=
00101
CfZzsDDKW98=
Stuck at the following script.
result=Textfile
while IFS='' read -r line || [[ -n "$line" ]];
echo "`awk or sed odd line $result`" "`awk or sed even line $result`"
done < "$result"
Output needed
"AsPO4IF+tGU=" "10101"
"WvTzUYrxvXY=" "01010"
"CfZzsDDKW98=" "00101"
Stops script once EOF in Textfile has reached.
Thanks for your time.
10101
and01010
intended? – Philippos Jul 15 '19 at 13:57