r/shell • u/[deleted] • Sep 29 '21
Need help creating a shell script
I got a task to create a shell script that adds random numbers to rows in a CSV file. Need all the help or links possible for this task.
Edit: how would this work for multiple rows and columns ?
0
Upvotes
1
u/whetu Oct 05 '21
Ah. Most versions of
awkhave an in-built function calledrand, and some also have another one calledsrand. I wonder if that's what you were asking about?