mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-12 06:30:50 +02:00
Bash-5.3-alpha release
This commit is contained in:
+26
-14
@@ -1,6 +1,7 @@
|
||||
./type.tests: line 22: type: -r: invalid option
|
||||
type: usage: type [-afptP] name [name ...]
|
||||
./type.tests: line 25: type: notthere: not found
|
||||
./type.tests: line 29: command: notthere: not found
|
||||
function
|
||||
keyword
|
||||
builtin
|
||||
@@ -24,21 +25,21 @@ func ()
|
||||
}
|
||||
while
|
||||
while is a shell keyword
|
||||
./type.tests: line 56: type: m: not found
|
||||
alias m='more'
|
||||
alias m='more'
|
||||
m is aliased to `more'
|
||||
./type.tests: line 59: type: morealias: not found
|
||||
alias morealias='more'
|
||||
alias morealias='more'
|
||||
morealias is aliased to `more'
|
||||
alias
|
||||
alias m='more'
|
||||
alias m='more'
|
||||
alias m='more'
|
||||
m is aliased to `more'
|
||||
alias morealias='more'
|
||||
alias morealias='more'
|
||||
alias morealias='more'
|
||||
morealias is aliased to `more'
|
||||
builtin
|
||||
builtin is a shell builtin
|
||||
/bin/sh
|
||||
/bin/sh is /bin/sh
|
||||
./type.tests: line 78: type: func: not found
|
||||
./type.tests: line 80: type: m: not found
|
||||
./type.tests: line 81: type: func: not found
|
||||
./type.tests: line 83: type: m: not found
|
||||
/bin/sh
|
||||
/tmp/bash
|
||||
bash is hashed (/tmp/bash)
|
||||
@@ -103,7 +104,7 @@ bb ()
|
||||
foo
|
||||
bar
|
||||
EOF
|
||||
)
|
||||
);
|
||||
echo after subshell
|
||||
}
|
||||
mkcoprocs is a function
|
||||
@@ -114,13 +115,13 @@ mkcoprocs ()
|
||||
producer 1
|
||||
EOF1
|
||||
|
||||
}
|
||||
};
|
||||
coproc b {
|
||||
cat <<EOF2
|
||||
producer 2
|
||||
EOF2
|
||||
|
||||
}
|
||||
};
|
||||
echo "coprocs created"
|
||||
}
|
||||
mkcoprocs is a function
|
||||
@@ -130,6 +131,17 @@ mkcoprocs ()
|
||||
heredoc
|
||||
body
|
||||
EOF
|
||||
)
|
||||
);
|
||||
echo "coprocs created"
|
||||
}
|
||||
mkcoprocs is a function
|
||||
mkcoprocs ()
|
||||
{
|
||||
coproc cat -u - & read -u ${COPROC[0]} msg
|
||||
}
|
||||
cat is /bin/cat
|
||||
cat is aliased to `echo cat'
|
||||
/bin/cat
|
||||
break is a shell builtin
|
||||
break is a special shell builtin
|
||||
./e
|
||||
|
||||
Reference in New Issue
Block a user