How to parse multiple args?
snowcrumble opened this issue · comments
Lijingfeng commented
For example:
echo "a.jpg b.jpg" | machma -- cp $1 $2
Alexander Neumann commented
There's no way to do that from within, machma
. It is meant to be a simple program. You could probably do that with a bit of shell magic, although I suspect that this won't handle corner cases.
Lijingfeng commented
Thx for reply, I can do this by:
echo "cp a.jpg b.jpg" | machma -- bash -c {}