FilePrint
FilePrint["file"]
prints out the raw textual contents of file.
FilePrint["file",n]
prints out the first n raw textual lines of file.
FilePrint["file",-n]
prints out the last n raw textual lines of file.
FilePrint["file",m;;n]
prints out lines m through n of file.
FilePrint["file",m;;n;;s]
prints out lines m through n of file in steps of s.
Examples
open allclose allBasic Examples (3)
Scope (4)
Print every third line of a file:
Print out every other line of a file, from end to start:
Print a File object:
Text
Wolfram Research (2007), FilePrint, Wolfram Language function, https://reference.wolfram.com/language/ref/FilePrint.html (updated 2017).
CMS
Wolfram Language. 2007. "FilePrint." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/FilePrint.html.
APA
Wolfram Language. (2007). FilePrint. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FilePrint.html