Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • Also what would be the easiest way to extract "EC_only" from the pattern ? Commented Sep 11, 2018 at 22:45
  • See my updated answer. Commented Sep 12, 2018 at 7:54
  • I want to add another parameter inside my command for e.g. id2 which takes "Ec_only" pattern from {1} (folder name in my case). I tried the method you suggested however not sure if it works --id2= {/} s:.*/Sample_:: Commented Sep 13, 2018 at 22:43
  • I added what I think you want as a final command at the end of my answer above. You need to add a --rpl which specifies the tag and the substitution command, then use the tag later on in the command. Commented Sep 14, 2018 at 15:36
  • The tag does not work --id2={1..} .The command wont run.(included the --rpl '{..} s:.*/Sample_::' in parallel) Commented Sep 14, 2018 at 19:53