Talk:Reverse the order of lines in a text file while preserving the contents of each line: Difference between revisions

mNo edit summary
Line 67:
<br>How about "Show the lines of a file in reverse order".
<br>I like Nigel's observation that the task is to implement the Linux "tac" command, so maybe ''Implement the Linux "tac" command'' would be good (the task description could then say that only reading from standard input need be supported, text files only, native OS definition of a line, etc. etc. Perhaps multiple input files could then be a stretch goal ? --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 17:17, 4 August 2021 (UTC)
 
:+1 obviously flattery will always do that, but in the interests of intellectual integrity I should point out that Laurence wrote the Unix Shell entry. I don't understand Walter Pachl's objection as tac rogers.txt does exactly what this task demands.--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 14:52, 5 August 2021 (UTC)
 
Here is the help text about unix tac:
2,172

edits