From 82049d287f1f562139f7e95765a0658e5f9a743f Mon Sep 17 00:00:00 2001 From: Hiroshi IKEGAMI Date: Mon, 8 Nov 2021 21:13:24 +0900 Subject: [PATCH] Added example --- README.md | 5 +++++ parasoul | 5 +++++ parasoul.1 | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/README.md b/README.md index 2ac03aa..f889669 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,11 @@ OPTIONS: * [-p|--pipe] # Force Pipe mode. (default: false) * [-s|--sequential] # Force Sequential mode. (force set --jobs 1) * [-q|--quiet] # Quiet mode. (default: false) + +ex) + parasoul --delimiter "@" --command "echo foo XXX" --replace-token "XXX" -- aaa@bbb@ccc@ddd + + echo aaa bbb ccc | parasoul --command "echo foo XXX" --replace-token "XXX" --pipe ``` Environments diff --git a/parasoul b/parasoul index 51aebd0..090ce70 100755 --- a/parasoul +++ b/parasoul @@ -77,6 +77,11 @@ OPTIONS: * [-s|--sequential] # Force Sequential mode. (force set --jobs 1) * [-q|--quiet] # Quiet mode. (default: false) +ex) + parasoul --delimiter "@" --command "echo foo XXX" --replace-token "XXX" -- aaa@bbb@ccc@ddd + + echo aaa bbb ccc | parasoul --command "echo foo XXX" --replace-token "XXX" --pipe + HELP } diff --git a/parasoul.1 b/parasoul.1 index 460c6e0..2ebf708 100644 --- a/parasoul.1 +++ b/parasoul.1 @@ -25,6 +25,11 @@ OPTIONS: * [-s|--sequential] # Force Sequential mode. (force set --jobs 1) * [-q|--quiet] # Quiet mode. (default: false) +ex) + parasoul --delimiter "@" --command "echo foo XXX" --replace-token "XXX" -- aaa@bbb@ccc@ddd + + echo aaa bbb ccc | parasoul --command "echo foo XXX" --replace-token "XXX" --pipe + .fi .RE