How shall I read the lines of a file whether they are ended with new line characters or not? – unix.stackexchange.com 11:04 Posted by Unknown No Comments I have a file named /tmp/urlFile where each line represents a url. I am trying to read from the file as follows: cat "/tmp/urlFile" | while read url do echo $url done If the last line doesn't ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "How shall I read the lines of a file whether they are ended with new line characters or not? – unix.stackexchange.com"
Post a Comment