Fix the download a music file example. - gopher-tutorials - The gopher tutorial… | |
git clone git://bitreich.org/gopher-tutorials/ git://enlrupgkhuxnvlhsf6lc3fziv5… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
commit e0c2aa8e2e2796b627b9053e6e4812519c41b57f | |
parent bacac60c92069254399bca491c31bf885588c48e | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 15 Jun 2019 19:26:42 +0200 | |
Fix the download a music file example. | |
Thanks to leot and Evil_Bob! | |
Diffstat: | |
M cmdline.txt | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/cmdline.txt b/cmdline.txt | |
@@ -21,7 +21,8 @@ another software (or using tee for both at the same time). | |
The following example will download a music file, save it on the | |
filesystem and play it with mpv while downloading. | |
- printf "/some_music.ogg\r\n" | tee saved_music.ogg | mpv - | |
+ printf "/some_music.ogg\r\n" | nc somedomain.com 70 \ | |
+ | tee saved_music.ogg | mpv - | |
You may have seen that the data type is not part of the request | |
string, this is because it is only useful for the client to decide how |