Tup is doing exactly what you told it to do. It simply passes the arguments to the shell. But since your args have a single quote in them, they are interpreted as a single string by the shell. This is causing the spaces separating the args to be escaped and included in one big arg. The net effect is that the string "Escola-Oficial-dIdiomes.md -o Escola-Oficial-dIdiomes.html" is passed as one single argument to your pandoc command. You can see that in the error message from your command (No such file or directory). Also note that the single quotes are gone, as they are consumed by the shell during escaping. The solution is to quote your args with double quotes:
: Escola-Oficial-d'Idiomes.md |> pandoc "%f" -o "%o" |> Escola-Oficial-d'Idiomes.html -Andy -- -- tup-users mailing list email: [email protected] unsubscribe: [email protected] options: http://groups.google.com/group/tup-users?hl=en --- You received this message because you are subscribed to the Google Groups "tup-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
