Cite This Page
Bibliographic details for Reverse the order of lines in a text file while preserving the contents of each line
- Page name: Reverse the order of lines in a text file while preserving the contents of each line
- Author: Rosetta Code contributors
- Publisher: Rosetta Code.
- Date of last revision: 4 August 2021 04:33 UTC
- Date retrieved: 8 June 2024 07:58 UTC
- Permanent URL: https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568
- Page Version ID: 314568
Citation styles for Reverse the order of lines in a text file while preserving the contents of each line
APA style
Reverse the order of lines in a text file while preserving the contents of each line. (2021, August 4). Rosetta Code. Retrieved 07:58, June 8, 2024 from https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568.
MLA style
"Reverse the order of lines in a text file while preserving the contents of each line." Rosetta Code. 4 Aug 2021, 04:33 UTC. 8 Jun 2024, 07:58 <https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568>.
MHRA style
Rosetta Code contributors, 'Reverse the order of lines in a text file while preserving the contents of each line', Rosetta Code, 4 August 2021, 04:33 UTC, <https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568> [accessed 8 June 2024]
Chicago style
Rosetta Code contributors, "Reverse the order of lines in a text file while preserving the contents of each line," Rosetta Code, https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568 (accessed June 8, 2024).
CBE/CSE style
Rosetta Code contributors. Reverse the order of lines in a text file while preserving the contents of each line [Internet]. Rosetta Code; 2021 Aug 4, 04:33 UTC [cited 2024 Jun 8]. Available from: https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568.
Bluebook style
Reverse the order of lines in a text file while preserving the contents of each line, https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568 (last visited June 8, 2024).
BibTeX entry
@misc{ wiki:xxx, author = "Rosetta Code", title = "Reverse the order of lines in a text file while preserving the contents of each line --- Rosetta Code{,} ", year = "2021", url = "https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568", note = "[Online; accessed 8-June-2024]" }
When using the LaTeX package url (\usepackage{url}
somewhere in the preamble) which tends to give much more nicely formatted web addresses, the following may be preferred:
@misc{ wiki:xxx, author = "Rosetta Code", title = "Reverse the order of lines in a text file while preserving the contents of each line --- Rosetta Code{,} ", year = "2021", url = "\url{https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=314568}", note = "[Online; accessed 8-June-2024]" }