print value from first line on each line – unix.stackexchange.com

I have file of following format: 1.0 2.0 3.0 4.0 5.0 Is it possible to copy value in first line 1.0 to the beginning of every line in awk? Like this: 1.0 1.0 1.0 2.0 1.0 3.0 1.0 4.0 1.0 ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "print value from first line on each line – unix.stackexchange.com"