$ nc example.com 80
GET / HTTP/1.1
Host: example.com
HTTP/1.1 200 OK
...
It works, line separator is just 0A here instead of required 0D0A.
How do I type a 0D0A-separated query in netcat?
It is easy to do one-time thing with printf manually typing \r\n each time or to implement some todos-like Perl oneliner and pipe it to nc, but maybe there is some easy way I miss?