News for hackers. Stuff that matters.
Re:BASH as a Modern Programming Language [ppt] by JIghtuse on Saturday December 07, 2013 @12:51PM (#6867004)
build && run_tests

PowerShell analogue

(build) -and (run_tests)

Really? Embracing commands for simple sequence?

Re:BASH as a Modern Programming Language [ppt] by freiervogel on Saturday December 07, 2013 @11:47PM (#6868990)
Simple sequence would just be: build; run_tests

The syntax you quoted is doing a logical AND of two expressions. Expressions are any bit of script - including calls to executables (like the example).

It's a pity that PowerShell is Windows-only (Pash notwithstanding); its syntax is small, supports pithiness and verbosity equally well, and has an easy to understand flow once you're over the first learning hump.