mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 22:34:29 +08:00
61 lines
684 B
Plaintext
61 lines
684 B
Plaintext
|
|
||
|
####################
|
||
|
# pipestatus variable - builtins only
|
||
|
1 1 1 : 1
|
||
|
0 0 0 : 0
|
||
|
1 0 1 : 1
|
||
|
0 1 0 : 0
|
||
|
|
||
|
####################
|
||
|
# pipestatus variable - no builtins
|
||
|
1 1 1 : 1
|
||
|
0 0 0 : 0
|
||
|
1 0 1 : 1
|
||
|
0 1 0 : 0
|
||
|
|
||
|
####################
|
||
|
# pipestatus variable - mixed
|
||
|
1 1 1 : 1
|
||
|
0 0 0 : 0
|
||
|
1 0 1 : 1
|
||
|
0 1 0 : 0
|
||
|
5 2 : 2
|
||
|
3 1 6 : 6
|
||
|
9 0 3 1 : 1
|
||
|
|
||
|
####################
|
||
|
# pipestatus variable - non-pipe
|
||
|
0 : 0
|
||
|
1 : 1
|
||
|
0 : 0
|
||
|
1 : 1
|
||
|
4 : 4
|
||
|
|
||
|
####################
|
||
|
# pipestatus variable - negate
|
||
|
0 : 1
|
||
|
1 : 0
|
||
|
1 1 1 : 0
|
||
|
0 0 0 : 1
|
||
|
1 0 1 : 0
|
||
|
0 1 0 : 1
|
||
|
9 0 3 : 0
|
||
|
|
||
|
####################
|
||
|
# pipestatus variable - block
|
||
|
0 : 0
|
||
|
1 : 1
|
||
|
0 : 1
|
||
|
1 : 0
|
||
|
0 0 : 0
|
||
|
1 1 : 1
|
||
|
0 1 : 1
|
||
|
1 0 : 0
|
||
|
0 1 : 1
|
||
|
1 0 : 0
|
||
|
1 1 : 1
|
||
|
0 0 : 0
|
||
|
3 5 : 5
|
||
|
0 5 : 5
|
||
|
0 0 : 0
|