$STTY  –  stty setup before command execution

$STTY defines arguments for the stty command. If this variable is defined in the environment of the command to execute, then Zsh executes stty $STTY before the command is executed.

$STTY is ignored if it’s defined in the shell’s environment and not only for the command to execute.

Examples

Convert command output to UPPERCASE
1
STTY=olcuc /usr/bin/echo hello world
Output:
1
HELLO WORLD
BashSupport Pro 是一款支持 stty** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款