Open main menu

Changes

444 bytes added ,  01:10, 27 March 2015
adds process substitution
</source>
=== Process Substitution ===
By using process substitution, we can operate on the output of commands without the need for saving to a file.
<source lang="bash">
drush pml --status=enabled --pipe > modules.list.txt
# make a bunch of changes to what modules are enabled, perhaps restoring from a backup, and compare to our original list
 
diff --suppress-common-lines --side-by-side <(drush pml --status=enabled --pipe) modules.list.txt
</source>
=== Compressed files ===
4,558

edits