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
0
votes
3 answers
Line-By-Line Node JS prompting for Input not functioning
I have started working with node js and am working with the line-by-line dependency. I have properly installed line-by-line and it is within the folder. Currently, my application will run but will not prompt the user to input an answer. My code is…

Fikrys
- 17
- 6
0
votes
0 answers
Laravel application freezes doesn't respond anymore
I have a laravel application that uses a while loop to process a txt file(6000 lines) line by line together with various helpers to manipulate each string. At the end of the manipulation it stores a record in db for each line. Everything works fine,…

Alessandro Boscato
- 47
- 2
- 8
0
votes
1 answer
FTP upload in bash script
I tried to write a bash script which upload a file to an ip address with ftp connection, but i have an issue or something like that. I have a .txt file with a lot of line. Every line have an ip address, nothing else just the ip address. So i want to…

Gábor Fábos
- 29
- 7
0
votes
2 answers
C - Reading file and putting text into char pointer with dynamic memory allocation
I'm trying to read a basic Shader line by line from an external file I wrote for a C program. In the file there are two shaders: Vertex and Fragment. I created this function to read it line by line and also determine which shader it is reading and…

I NN_
- 139
- 6
0
votes
1 answer
Automaticly smooth scroll down page
So this is one of those questions that seems simple but than it doesn't. I have a webpage containing over 200.000 names of people that i load in using node.js and line-by-line. I want the page to slowely scroll down. Think intro crawler from…

robin.schenk
- 1
- 2
0
votes
1 answer
PHP check if string contains certain word while explode
I am trying to build a PHP script to read a remote file line by line and check if there is some certain word then export it.

ashari
- 1
- 1
0
votes
0 answers
file reading line by line and printing not working on mac os but works fine in RHEL
The following code works in Linux but fails with a Segmentation Fault 11 on Mac OS (Catalina). What am I doing wrong?
Thanks.
#include
#include
#include
int main (int argc, char *argv[]) {
FILE *fp;
…

user3512999
- 139
- 1
- 8
0
votes
1 answer
Add 2 Line-By-Line text readers in one function
I want to read 2 different text files, the keys.txt file and the proxies.txt file. When reading keys.txt start a function and read proxies.txt to add something in that function.
var LineByLineReader = require('line-by-line'),
lr = new…

Lmao 123
- 111
- 1
- 8
0
votes
3 answers
How do I see how my program is executed line by line
I am trying to learn the basics of programming using python, and I am getting to the point where I have to deal with if statements and for loops. The thing is that I am getting a bit confused as to how my code is running. Is there a way to see how…

Chris434
- 21
- 1
0
votes
1 answer
vbs read text file line by line and split it with comma
has a text file with this contain
name1,21
name2,33
name4,22
how do i read and store this in other variable for example
name= name1
age= 21
print out this and loop until end of this file
print out will be
name: name1 is 21 years old
this is…

Ajwad Ibrahim
- 127
- 1
- 5
- 11
0
votes
1 answer
How to read file by url in node js
I using line-by-line module for node js, and I want to set file from url for example now i have this:
LineByLineReader = require('line-by-line'),
lr = new LineByLineReader('file.txt');
And i want to
LineByLineReader =…

Matthew John Miernik
- 21
- 2
- 6
0
votes
1 answer
Bash | Importing a .txt to .txt file, line by line with 'While Read'
I know this question appears rather frequently, but I cannot seem to find a solution on importing a .txt file line by line to another .txt with the While Read command:
line="input.txt"
while read -r line; do
printf '%s\n' "$line"
done <…

Daniel Jameson
- 1
- 1
0
votes
1 answer
Reading in File line by line w/ Bash
I'm creating a bash script to read a file in line by line, that is formatted later to be organised by name and then date. I cannot see why this code isn't working at this time though no errors show up even though I have tried with the input and…

Sam Thompson
- 1
- 2
0
votes
1 answer
nsis - How to copy files through loop
I saved the files to be copied to a .dat file as below.
\Bin\a.exe
\Bin\b.dll
\Bin\c.dll
\Bin\d.dll
\Bin\e.dll
\Bin\f.dll
Then I want to read the .dat file line by line.
I read it by line as below code(.nsi).
ClearErrors
FileOpen $0…

areum
- 93
- 3
- 14
0
votes
2 answers
String line by line
I have to listing files with some string from diferent location , but in the output I required path line by line. All it's OK if in the first locations are files more than one, but if is only one file and in other location are more files than all…

mino
- 125
- 2
- 11