Is there any way to pass arguments via pipe on bash?
something like:
echo value1 value2 | mkdir -p ./$1/$2
The line above would create the directories ./value1/value2
If this is not possible I would accept suggestions.
Any help is appreciated.