do not use echo that espaces newline

Fix https://github.com/meilisearch/milli/issues/175
This commit is contained in:
Yann Simon 2021-04-29 09:25:35 +02:00 committed by GitHub
parent 5b9524e1ba
commit 566c4a53c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ All of that on a 39$/month machine with 4cores.
You can feed the engine with your CSV (comma-seperated, yes) data like this:
```bash
echo "name,age\nhello,32\nkiki,24\n" | http POST 127.0.0.1:9700/documents content-type:text/csv
printf "name,age\nhello,32\nkiki,24\n" | http POST 127.0.0.1:9700/documents content-type:text/csv
```
Here ids will be automatically generated as UUID v4 if they doesn't exist in some or every documents.