perl -aF/\s+/ -lne"print join qq(\t),splice(@F,0,2) while @F" t.txt
Adjust the quotes to suite your shell.
In reply to Re: repeat data at one line and grep as pre-set format
by demerphq
in thread repeat data at one line and grep as pre-set format
by benlaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |