Can you configure curl with a dotfile to automatically print responses with the -w '\n'
flag?
Asked
Active
Viewed 172 times
0

Ilias Karim
- 4,798
- 3
- 38
- 60
1 Answers
1
In the documentation at https://www.mit.edu/afs.new/sipb/user/ssen/src/curl-7.11.1/docs/curl.html, it is stated, that there is in fact a .curlrc
(or _curlrc
on windows - but I'll assume you're on linux).
So, in order to do what you want, create a file ~/.curlrc
and add the following line: -w '\n'
. That's it.
See https://curl.se/docs/manual.html for more examples.

thetillhoff
- 451
- 4
- 8