aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rwxr-xr-xexample/download.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/download.sh b/example/download.sh
new file mode 100755
index 0000000..4698d38
--- /dev/null
+++ b/example/download.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# This toy example uses wget and the --target mode to act
+# as a drag-and-drop download tool.
+
+../dragon --target | while read url
+do
+ wget "$url"
+done
bgstack15