All Questions
Tagged with enumerate line-breaks
1 question
1
vote
3
answers
906
views
How to append a random number between a range [1,10] at the end of each line in Vim?
I have a graph data in a file with each line containing the source and destination node of an edge. I want to assign a random weight between [1, 10] for each edge to test my graph algorithm. How can I ...