Line By Line is a NodeJS module that helps you reading large text files, line by line, without buffering the files into memory.
Questions tagged [line-by-line]
114 questions
-1
votes
2 answers
Reading multiple values in multiple lines from file (Java)
Is there a way to read a file into Java line by line, with each line having a series of integers (different amount of integers per line). For example:
2 5
1 3 4 5
2 4 8
2 3 5 7 8
etc.
I will be reading the line number and numbers in each row into a…

user3326317
- 11
- 1
- 5
-1
votes
1 answer
Jquery expand -lines with less then 85% Text with word-/letter-spacing to 100%
I want to loop trough a < p > and resize every automatic(!) AND < br > linebreak smaller than eg. 85% but greater 50% only with word-/letter-spacing to 100% width of parent container - if it's not the last line before < p >.
so when i have:

mahakala
- 3
- 3
-1
votes
1 answer
Reading File Line By Line
been having some trouble finding the right way to do this. I have a GUI with text fields, check boxes, and combo boxes. I've managed to write these fields to a .dat file but I'm having trouble reading that file. Basically what I need done is to read…

user3018594
- 11
-1
votes
1 answer
Reading a file line-by-line fork/exec - Perl
Currently I'm attempting to read a file line by line and fork processes using perl
Basically my perl script "test.pl" executes another script using exec the way it should work is the script "run.sh" should be executed for every 5 lines of the file…
user2442464
-2
votes
1 answer
Execute Python Program line-by-line automatically
I'm doing a python script with selenium. To do tests I use command promp, this way i know if my line of command is working without needing to execute the program over and over to correct line by line. The thing is, i need a way to automatically…
-2
votes
3 answers
How to append the helloworld.txt with pdf filenames, sizes and description in the same order like in the folder (sort by modification time)?
I have a folder with pdf files and I have a text file: helloworld.txt and another txt file description.txt
The helloworld.txt is empty by default.
The description.txt contains the files' description. Every line one description.
I want that in every…

Zoltán Fodor
- 95
- 5
-2
votes
2 answers
PowerShell if next line contains "this string" ,output current line and next 3 lines else output just current line
(sorry for bad english)I need a PowerShell Script that does = if next line contains "this string" ,output current line and next 3 lines else output just current line.
e.g
Error
Info
Error
Error
exeption
Error
if next line do not have 'exeption'…

subyyal Khan
- 1
- 3
-2
votes
1 answer
Best way to read a file line-by-line in C using mmap?
The following code shows how to read part of a file using the mmap command:
addr = mmap(NULL, length + offset - pa_offset, PROT_READ,
MAP_PRIVATE, fd, pa_offset);
if (addr == MAP_FAILED)
…

Kevin Spaeth
- 7
- 2
-2
votes
1 answer
reading a text file line by line and putting the lines into lists in Java
If I had the following text file:
5 -5 -4 -3 -2 -1
6 -33 -22 -11 44 55 66
(the first # in line is the length of the list)
How do I read the file line by line and then read the integers in each of the lines to create 2 lists?
Desired output of…

us42
- 1
- 1