Scott Williams 🐧 on Nostr: TIL that in #bash `|&` is equivalent to the `2>&1 |` that I would normally type out. ...
TIL that in #bash `|&` is equivalent to the `2>&1 |` that I would normally type out.
(Both combine stout and stderr into the pipe sent to the next command.)
Published at
2024-07-21 21:18:28Event JSON
{
"id": "d717b771f81eff519c2cb0a0be2a1f1d4ba6b83f720b99cbadc72da833de7993",
"pubkey": "beee28c6450eb5d21bf94279d1f3f41e524c87abf86393835b45e6a1e98390e7",
"created_at": 1721596708,
"kind": 1,
"tags": [
[
"t",
"bash"
],
[
"proxy",
"https://mastodon.online/users/vwbusguy/statuses/112826561915302592",
"activitypub"
]
],
"content": "TIL that in #bash `|\u0026` is equivalent to the `2\u003e\u00261 |` that I would normally type out.\n\n(Both combine stout and stderr into the pipe sent to the next command.)",
"sig": "5a59c34b4b442f293b8eac875b546f2cadc685f447299d853f00338a0cb1c20efbb11b5fadf5c06415fc6cfa4fb6f8323e1faea2983af72016809ae1a7cacc3d"
}