From 6fae9cf3514ee86cd736d98043a22be1ecb3bfb5 Mon Sep 17 00:00:00 2001 From: Mohit Agarwal Date: Mon, 8 Jan 2018 09:00:34 +0530 Subject: [PATCH] Mention that `<(...)` refers to process substitution. This is a replacement for #465. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d9896f..e6613aa 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Notes: - Brace expansion using `{`...`}` can reduce having to re-type similar text and automate combinations of items. This is helpful in examples like `mv foo.{txt,pdf} some-dir` (which moves both files), `cp somefile{,.bak}` (which expands to `cp somefile somefile.bak`) or `mkdir -p test-{a,b,c}/subtest-{1,2,3}` (which expands all possible combinations and creates a directory tree). -- The output of a command can be treated like a file via `<(some command)`. For example, compare local `/etc/hosts` with a remote one: +- The output of a command can be treated like a file via `<(some command)` (known as process substitution). For example, compare local `/etc/hosts` with a remote one: ```sh diff /etc/hosts <(ssh somehost cat /etc/hosts) ```