Read a line-oriented file which may not end with a newline – unix.stackexchange.com 11:24 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 Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitTeaching the humble for loop – cseducators.stackexchange.comDo iPhones have a built-in mouse or trackpad and how do I use it? – apple.stackexchange.comShoes for seahorses – codegolf.stackexchange.comTikz package in tabularx, |c|X| |c|c|—I want a compact 2 column table with no borders – tex.stackexchange.comOrdered sequence of ascending integer combinations – codegolf.stackexchange.comOutput the n-th Bell Number – codegolf.stackexchange.com
0 Comment to "Read a line-oriented file which may not end with a newline – unix.stackexchange.com"
Post a Comment