From 93609c6e1aac34415cf1c37defaeb11b54d270bd Mon Sep 17 00:00:00 2001 From: Samuel Henrique Date: Wed, 13 Aug 2025 18:49:48 +0100 Subject: [PATCH] Add example for downloading a list of URLs from a file --- README.md | 6 ++++++ wcurl.md | 4 ++++ 2 files changed, 10 insertions(+) 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 \