perl -n -e'print join(" ", (split(/\s+/))[0,1]), "\n"' yourfile.txt
In reply to Re: repeat data at one line and grep as pre-set format
by svenXY
in thread repeat data at one line and grep as pre-set format
by benlaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |