Skip to main content

Timeline for curl doesn't work in bash loop

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Jan 7, 2019 at 13:12 history edited Ralf CC BY-SA 4.0
Updated thanks to lesson from Kusalananda
Jan 7, 2019 at 13:10 comment added Ralf @Kusalananda Thanks! Learned something. Thought it is to filter out empty lines.
Jan 7, 2019 at 12:59 comment added Kusalananda There is no issue with read -r url || [ -n "$url" ], this is a common way to read lines from files whose last line is not properly terminated by a newline.
Jan 7, 2019 at 12:56 comment added Ralf I edited to echo the read URL. You don't see that either?
Jan 7, 2019 at 12:55 history edited Ralf CC BY-SA 4.0
added 30 characters in body
Jan 7, 2019 at 12:50 comment added Born vs. Me I just edited it to $url for users to understand easier. But in fact in the code I have a problem its $p Still doesnt work Blank response even with your code
Jan 7, 2019 at 12:43 history answered Ralf CC BY-SA 4.0