📄 source6.sub
字号:
# tests sourcing non-regular files, fixed post-3.2: ${TMPDIR:=/tmp}TMPFN=$TMPDIR/foo-$$rm -f $TMPFNecho "echo one - OK" > $TMPFN. $TMPFNecho $?rm -f $TMPFN# non-regular readable file. /dev/nullecho $?# FIFO or pipe via /dev/fd. <(echo "echo two - OK")echo $?# pipeecho "echo three - OK" | . /dev/stdinecho $?# FIFOmkfifo $TMPDIR/fifo-$$echo "echo four - OK" > $TMPDIR/fifo-$$ &sleep 1 # allow the child echo to execute. $TMPDIR/fifo-$$echo $?rm -f $TMPDIR/fifo-$$
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -