diff options
-rwxr-xr-x | example/download.sh | 8 |
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 |