reading_a_line
If you want to send us your comments, please do so. Thanks
More on comments
reading a line
Reading a line with bash error
while IFS='' read -r line || [[ -n "$line" ]]; do echo $line; done < /mnt/ramdisk/file.txt | less while IFS='' read -r line || [[ -n "$line" ]]; do echo -e "$line\n"; done < /mnt/ramdisk/file.txt | less
The first output contains also the output as if it was the output of a ls command. The second also has an extra empty line after each line
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.
reading_a_line.txt · Last modified: 19-06-2018 11:13 by wim