Dear all,
Shuffling the lines
I would like to perform the following tasks using awk. I would be grateful for any advices you might have.
1. Shuffle the lines by field 1 (groups 111, 112). That is, within each group shuffling is undertaken independently.
2. After that print out the first 5...
Dear all,
Matching fields with random selection
I like to do the following matching and would be very grateful if someone would be able to provide a script file for doing this. Since the input dataset is quite large in order of millions of lines, it is almost impossible to upload into a...
Dear all,
I would like you have your advice on how to generate the following pattern of sequence numbers using awk.
Input
2
4
3
Output
2
1
4
3
2
1
3
2
1
Thanks in advance
Tivona
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.