run(`cut -d: -f3 /etc/passwd` |> `sort -n` |> `tail -n5`)
run(`touch a` |> `sleep 3` |> `touch b`)This example runs, but the three commands are executed "at the same time" as I see the two files a and b appearing at the same time in the file manager. Hence I deduce that |> cannot be used to chain all king of commands. Am I right?Davide
success(`touch a`) && success(`sleep 3`) && success (`touch b`)
Slightly more verbose, but not so much. Overloading && is not possible (without a macro) due to the sort circuit characteristics.