Top "Line-by-line" questions

Bash: read a file line-by-line and process each segment as parameters to other prog

I have some dirty work to do, so a Bash script seems to be a good choice. I'm new to …

bash parameters line-by-line
How can I profile Python code line-by-line?

I've been using cProfile to profile my code, and it's been working great. I also use gprof2dot.py to …

python profiling line-by-line
How to read from files with Files.lines(...).forEach(...)?

I'm currently trying to read lines from a text only file that I have. I found on another stackoverflow(Reading …

java file foreach filereader line-by-line
How to read a CSV file from a stream and process each line as it is written?

I would like to read a CSV file from the standard input and process each row as it comes. My …

python csv stream line-by-line
How to read data line by line from a file using ant script?

In perl we use <FileDescriptor> to read data line by ilne from a file. How to do the …

file-io ant line-by-line
(VB6) Reading text files line by line looking for specific words

Good afternoon StackOverflow, I've just signed up here - I've been using this site for ages, and it seems to …

string vb6 line-by-line
Arduino reading SD file line by line C++

I am trying to read a text file "Print1.txt", line by line, from an SD card attached to my …

c++ arduino sd-card readfile line-by-line
How to read a file line by line and close it afterwards in Scala?

Normally, they will tell you to import scala.io.Source for(line <- Source.fromPath("myfile.txt").getLines()) println(…

scala readfile line-by-line
read line by line from richtextbox and show in label (vb.net)

I would like to read line by line from richtextbox and show each line every a second in label. I …

vb.net label richtextbox line-by-line
reading from stdin, while consuming no more memory than needed

I am trying to create a line-by-line filter in python. However, stdin.readlines() reads all lines in before starting to …

python pipe stdin line-by-line