Answer by limovala for Busy box Read file line by line
I managed to solve my requirement by using head testInputs/test1 -n $getLineNum | tail -n 1 getLineNum increments on each while loop. but it is not the exact answer for my question. Also you need to...
View ArticleAnswer by Stéphane Chazelas for Busy box Read file line by line
read is a shell builtin (it couldn't set a shell variable if it were not). So, if your busybox sh is based on ash, it's: while IFS= read -r line <&3; do printf '%s\n' "$line" done 3<...
View ArticleBusy box Read file line by line
There is no read applet comming with busy box. Is there any way to read a txt file line by line using busybox? What I have now is while read line do echo $line done < "$InputFile"
View Article
More Pages to Explore .....