N
N
nikolaimed2021-01-10 15:45:09
Text Processing Automation
nikolaimed, 2021-01-10 15:45:09

How to change sort order of text?

There is a large chronology of textual data, but initially I began to write in the order “old data on top, new data on the bottom”. Now you need to change the order, and write new data on top, and leave the old data at the bottom. Maybe there are some tools to change the order of the text?

example now so
13 03 110 72 71 three
13 04 118 74 66 zero 13 10 117
75 69 six
14 08 132 88

73
four
five
69 six
13 04 118 74 66 zero
13 03 110 72 71 three

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2021-01-10
@fox_12

tail -r <ваш файл> > <новый файл>

G
ge, 2021-01-11
@gedev

tac исходный_файл > новый_файл
Writes data in reverse order to new_file .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question