Pertanyaan yang diberi tag background-process

14
background proses pipa-input

jika saya ingin menampilkan "aaa" di layar: (1)$: echo aaa | cat ... works OK (2)$: echo aaa | ( cat ) ... works OK (3)$: echo aaa | ( cat & ) ... NOT working (4)$: ( echo aaa & ) | cat ... works OK (5)$: echo aaa | ( cat <&0 & ) ... works ok in BASH (but not in SH) (6)$: echo...