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: 31 October 2023 13:12 UTC
- Date retrieved: 1 June 2024 16:13 UTC
- Permanent URL: https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=354968
- Page Version ID: 354968
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. (2023, October 31). Rosetta Code. Retrieved 16:13, June 1, 2024 from https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=354968.
MLA style
"Reverse the order of lines in a text file while preserving the contents of each line." Rosetta Code. 31 Oct 2023, 13:12 UTC. 1 Jun 2024, 16:13 <https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=354968>.
MHRA style
Rosetta Code contributors, 'Reverse the order of lines in a text file while preserving the contents of each line', Rosetta Code, 31 October 2023, 13:12 UTC, <https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=354968> [accessed 1 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=354968 (accessed June 1, 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; 2023 Oct 31, 13:12 UTC [cited 2024 Jun 1]. Available from: https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=354968.
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=354968 (last visited June 1, 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 = "2023", url = "https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=354968", note = "[Online; accessed 1-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 = "2023", url = "\url{https://rosettacode.org/wiki/Reverse_the_order_of_lines_in_a_text_file_while_preserving_the_contents_of_each_line?oldid=354968}", note = "[Online; accessed 1-June-2024]" }