matches.out

来自「通讯程序源码」· OUT 代码 · 共 67 行

OUT
67
字号
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 + =
减小字号Ctrl + -
显示快捷键?