From 3478b1a706d71e69da1d0b3ffc2ac3831b4389dc Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Thu, 29 Feb 2024 22:13:04 +0100 Subject: [PATCH] chore(kb/fish): note down process substitution --- knowledge base/fish.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/knowledge base/fish.md b/knowledge base/fish.md index e50b252..e01f268 100644 --- a/knowledge base/fish.md +++ b/knowledge base/fish.md @@ -27,6 +27,12 @@ chsh -s "$(which fish)" # from `{ba,z}sh` # Open the web-based configuration interface. fish_config fish_config browse + +# Process substitution. +# What in BASH or ZSH would be `<(echo …)`. +diff -y -W 200 \ + (aws … --output 'json' | psub) \ + (aws … --output 'json' | psub) ``` ## Configuration