AWK: get random lines of file satisfying a condition? – unix.stackexchange.com

So I am new to awk and am trying to get a set number of random lines that satisfy a condition. e.g. if my file was: a 1 5 b 4 12 c 2 3 e 6 14 f 7 52 g 1 8 then I ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "AWK: get random lines of file satisfying a condition? – unix.stackexchange.com"