⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 matches.1

📁 通讯程序源码
💻 1
字号:
.TH matches L.SH NAMEmatches \- test if string2 is contained in string1.SH SYNOPSIS.B matches string1 string2.SH DESCRIPTION.I Matchesreturns a 0 if string2 is contained in string1, otherwise it returns a 1..PP.I Matchesis designed to be used by.I Pcomminside a shell script for automating keyboard input to log user onto aremote system..PP.SH EXAMPLE.nf.RS 5# read some inputread junk# test to see the string matches 'login failed'matches $junk 'login failed'# test the exit code of the matches commandif [ $? \-eq 0 ]then.RS 5	exit 1.REfi.RE.fi.SH "SEE ALSO"pcomm(1), pcomm_cmd(1), waitfor(1), Pcomm Reference Manual

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -