Bash equivalents in Elvish Shell

The start of a cheatsheet because I like using Elvish Shell on a day to day basis, but port bash scripts infrequently enough that I forget how to do simple things. Not strictly related to Neo4j other than that I use Neo4j from the command line and I use elvish. :slight_smile:

                                                                                                   Bash                                                                                                     Elvish                                                                                                 explanation
cmd1 && cmd2 cmd1; and cmd2 short-circuit command flow. serialize the execution of multiple commands, continuing at each conjunction only if the exit of the previous command was successful.
`for x in *.json

do echo $x done | for x [ *.json ] { echo $x } | loop through list of filenames, applying the body |