6 ms·
Moderna bash/shell language? check out Window's Power Shell [1]. The one shell scripting language what I would use and the only of its type that its syntax don'
by asmman1 13y ago
Moderna bash/shell language? check out Window's Power Shell [1]. The one shell scripting language what I would use and the only of its type that its syntax don't scare me...
[1]: http://en.wikipedia.org/wiki/Windows_PowerShell http://en.wikipedia.org/wiki/Windows_PowerShell
- JIghtuse 13y agobuild && run_tests PowerShell analogue (build) -and (run_tests) Really? Embracing commands for simple sequence?
- freiervogel 13y agoSimple 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.