diff --git a/README.md b/README.md index 1ef1105..9294763 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,12 @@ then performs the parsing. May be specified more than once. wcurl --curl-options="--continue-at -" example.com/filename.txt ``` +* Download a list of URLs from a file: + + ```sh + while read -r url; do wcurl "$url"; done < filename.txt + ``` + # Running the testsuite If you would like to run the tests, you first need to install the diff --git a/wcurl.md b/wcurl.md index 4111af5..1dae3f2 100644 --- a/wcurl.md +++ b/wcurl.md @@ -129,6 +129,10 @@ be the last one in the list): **wcurl --curl-options="--continue-at -" example.com/filename.txt** +Download a list of URLs from a file: + +**while read -r url; do wcurl "$url"; done < filename.txt** + # AUTHORS Samuel Henrique \