On 12/02/2017 21:46, Christian Gollwitzer wrote:
Am 12.02.17 um 22:07 schrieb BartC:
On 12/02/2017 20:38, Christian Gollwitzer wrote:
Am 12.02.17 um 21:19 schrieb Paolo:
Buonasera, è da un pò che sto cercando come esercizio di scrivere un
file al contrario.
Mi spiego meglio ho un file con N righe e vorrei scriverne un altro con
gli stessi dati ma la 1° riga deve diventare l' ultima.

 tac <file1 >file2

does that.

In what language?

Shell script.

In Python, I had to do something like this:


Thank you for doing his homework.

'google python reverse a file'

Sorry, have I done it again...?
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to