Questions tagged [yash]
Questions about the yash shell
2 questions
15 votes
2 answers
2k views
Slightly confused about whether printf in the yash shell is a built-in command or not
The yash shell has a printf built-in, according to its manual. However, this is what I see in a yash shell with default configuration: $ command -v printf /usr/bin/printf $ type printf printf: a ...
16 votes
9 answers
7k views
Check variable is an array in Bourne like shell?
In Bourne like shell which support array variable, we can use some parsing to check if variable is an array. All commands below were run after running a=(1 2 3). zsh: $ declare -p a typeset -a a a=(...