How to read a linux file line by line
Closed
anonymous
-
Updated on Mar 30, 2018 at 04:55 PM
xpcman Posts 19528 Registration date Wednesday October 8, 2008 Status Contributor Last seen June 15, 2019 - Mar 30, 2018 at 05:45 PM
xpcman Posts 19528 Registration date Wednesday October 8, 2008 Status Contributor Last seen June 15, 2019 - Mar 30, 2018 at 05:45 PM
Hi!
thank you for the example
while read line; do echo "$ line \n"; done < file.txt
you should correct the $ line without space, and it works great.
I did it.
while read line; do echo "$line \n"; done < file.txt
thanks!
thank you for the example
while read line; do echo "$ line \n"; done < file.txt
you should correct the $ line without space, and it works great.
I did it.
while read line; do echo "$line \n"; done < file.txt
thanks!
Related:
- How to read a linux file line by line
- Kali linux iso file download - Download - Linux
- Windows 10 iso file download 64-bit - Download - Windows
- How to read news on kindle - Guide
- Ps3 won't read disc - Guide
- Bash read file line by line - Guide
1 response
xpcman
Posts
19528
Registration date
Wednesday October 8, 2008
Status
Contributor
Last seen
June 15, 2019
1,824
Mar 30, 2018 at 05:45 PM
Mar 30, 2018 at 05:45 PM
thanks for the info