📄 matches.out
字号:
matches(L) LOCAL COMMANDS matches(L)NAME matches - test if string2 is contained in string1SYNOPSIS matches string1 string2DESCRIPTION Matches returns a 0 if string2 is contained in string1, oth- erwise it returns a 1. Matches is designed to be used by Pcomm inside a shell script for automating keyboard input to log user onto a remote system.EXAMPLE # read some input read junk # test to see the string matches 'login failed' matches $junk 'login failed' # test the exit code of the matches command if [ $? -eq 0 ] then exit 1 fiSEE ALSO pcomm(1), pcomm_cmd(1), waitfor(1), Pcomm Reference ManualDell Computer Corp. Last change: 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -