📄 mklinks
字号:
#!/bin/sh# This script is invoked when installing manual entries. It generates# additional links to manual entries, corresponding to the procedure# and command names described by the manual entry. For example, the# Tcl manual entry Hash.3 describes procedures Tcl_InitHashTable,# Tcl_CreateHashEntry, and many more. This script will make hard# links so that Tcl_InitHashTable.3, Tcl_CreateHashEntry.3, and so# on all refer to Hash.3 in the installed directory.## Because of the length of command and procedure names, this mechanism# only works on machines that support file names longer than 14 characters.# This script checks to see if long file names are supported, and it# doesn't make any links if they are not.## The script takes one argument, which is the name of the directory# where the manual entries have been installed.if test $# != 1; then echo "Usage: mkLinks dir" exit 1ficd $1echo foo > xyzzyTestingAVeryLongFileName.foox=`echo xyzzyTe*`rm xyzzyTe*if test "$x" != "xyzzyTestingAVeryLongFileName.foo"; then exitfiif test -r AddErrInfo.3; then rm -f Tcl_AddObjErrorInfo.3 ln AddErrInfo.3 Tcl_AddObjErrorInfo.3fiif test -r AddErrInfo.3; then rm -f Tcl_AddErrorInfo.3 ln AddErrInfo.3 Tcl_AddErrorInfo.3fiif test -r AddErrInfo.3; then rm -f Tcl_SetErrorCode.3 ln AddErrInfo.3 Tcl_SetErrorCode.3fiif test -r AddErrInfo.3; then rm -f Tcl_PosixError.3 ln AddErrInfo.3 Tcl_PosixError.3fiif test -r Alloc.3; then rm -f Tcl_Alloc.3 ln Alloc.3 Tcl_Alloc.3fiif test -r Alloc.3; then rm -f Tcl_Free.3 ln Alloc.3 Tcl_Free.3fiif test -r Alloc.3; then rm -f Tcl_Realloc.3 ln Alloc.3 Tcl_Realloc.3fiif test -r AllowExc.3; then rm -f Tcl_AllowExceptions.3 ln AllowExc.3 Tcl_AllowExceptions.3fiif test -r AppInit.3; then rm -f Tcl_AppInit.3 ln AppInit.3 Tcl_AppInit.3fiif test -r AssocData.3; then rm -f Tcl_GetAssocData.3 ln AssocData.3 Tcl_GetAssocData.3fiif test -r AssocData.3; then rm -f Tcl_SetAssocData.3 ln AssocData.3 Tcl_SetAssocData.3fiif test -r AssocData.3; then rm -f Tcl_DeleteAssocData.3 ln AssocData.3 Tcl_DeleteAssocData.3fiif test -r Async.3; then rm -f Tcl_AsyncCreate.3 ln Async.3 Tcl_AsyncCreate.3fiif test -r Async.3; then rm -f Tcl_AsyncMark.3 ln Async.3 Tcl_AsyncMark.3fiif test -r Async.3; then rm -f Tcl_AsyncInvoke.3 ln Async.3 Tcl_AsyncInvoke.3fiif test -r Async.3; then rm -f Tcl_AsyncDelete.3 ln Async.3 Tcl_AsyncDelete.3fiif test -r BackgdErr.3; then rm -f Tcl_BackgroundError.3 ln BackgdErr.3 Tcl_BackgroundError.3fiif test -r Backslash.3; then rm -f Tcl_Backslash.3 ln Backslash.3 Tcl_Backslash.3fiif test -r BoolObj.3; then rm -f Tcl_NewBooleanObj.3 ln BoolObj.3 Tcl_NewBooleanObj.3fiif test -r BoolObj.3; then rm -f Tcl_SetBooleanObj.3 ln BoolObj.3 Tcl_SetBooleanObj.3fiif test -r BoolObj.3; then rm -f Tcl_GetBooleanFromObj.3 ln BoolObj.3 Tcl_GetBooleanFromObj.3fiif test -r CallDel.3; then rm -f Tcl_CallWhenDeleted.3 ln CallDel.3 Tcl_CallWhenDeleted.3fiif test -r CallDel.3; then rm -f Tcl_DontCallWhenDeleted.3 ln CallDel.3 Tcl_DontCallWhenDeleted.3fiif test -r CmdCmplt.3; then rm -f Tcl_CommandComplete.3 ln CmdCmplt.3 Tcl_CommandComplete.3fiif test -r Concat.3; then rm -f Tcl_Concat.3 ln Concat.3 Tcl_Concat.3fiif test -r CrtChannel.3; then rm -f Tcl_CreateChannel.3 ln CrtChannel.3 Tcl_CreateChannel.3fiif test -r CrtChannel.3; then rm -f Tcl_GetChannelInstanceData.3 ln CrtChannel.3 Tcl_GetChannelInstanceData.3fiif test -r CrtChannel.3; then rm -f Tcl_GetChannelType.3 ln CrtChannel.3 Tcl_GetChannelType.3fiif test -r CrtChannel.3; then rm -f Tcl_GetChannelName.3 ln CrtChannel.3 Tcl_GetChannelName.3fiif test -r CrtChannel.3; then rm -f Tcl_GetChannelHandle.3 ln CrtChannel.3 Tcl_GetChannelHandle.3fiif test -r CrtChannel.3; then rm -f Tcl_GetChannelMode.3 ln CrtChannel.3 Tcl_GetChannelMode.3fiif test -r CrtChannel.3; then rm -f Tcl_GetChannelBufferSize.3 ln CrtChannel.3 Tcl_GetChannelBufferSize.3fiif test -r CrtChannel.3; then rm -f Tcl_SetDefaultTranslation.3 ln CrtChannel.3 Tcl_SetDefaultTranslation.3fiif test -r CrtChannel.3; then rm -f Tcl_SetChannelBufferSize.3 ln CrtChannel.3 Tcl_SetChannelBufferSize.3fiif test -r CrtChannel.3; then rm -f Tcl_NotifyChannel.3 ln CrtChannel.3 Tcl_NotifyChannel.3fiif test -r CrtChannel.3; then rm -f Tcl_BadChannelOption.3 ln CrtChannel.3 Tcl_BadChannelOption.3fiif test -r CrtChnlHdlr.3; then rm -f Tcl_CreateChannelHandler.3 ln CrtChnlHdlr.3 Tcl_CreateChannelHandler.3fiif test -r CrtChnlHdlr.3; then rm -f Tcl_DeleteChannelHandler.3 ln CrtChnlHdlr.3 Tcl_DeleteChannelHandler.3fiif test -r CrtCloseHdlr.3; then rm -f Tcl_CreateCloseHandler.3 ln CrtCloseHdlr.3 Tcl_CreateCloseHandler.3fiif test -r CrtCloseHdlr.3; then rm -f Tcl_DeleteCloseHandler.3 ln CrtCloseHdlr.3 Tcl_DeleteCloseHandler.3fiif test -r CrtCommand.3; then rm -f Tcl_CreateCommand.3 ln CrtCommand.3 Tcl_CreateCommand.3fiif test -r CrtFileHdlr.3; then rm -f Tcl_CreateFileHandler.3 ln CrtFileHdlr.3 Tcl_CreateFileHandler.3fiif test -r CrtFileHdlr.3; then rm -f Tcl_DeleteFileHandler.3 ln CrtFileHdlr.3 Tcl_DeleteFileHandler.3fiif test -r CrtInterp.3; then rm -f Tcl_CreateInterp.3 ln CrtInterp.3 Tcl_CreateInterp.3fiif test -r CrtInterp.3; then rm -f Tcl_DeleteInterp.3 ln CrtInterp.3 Tcl_DeleteInterp.3fiif test -r CrtInterp.3; then rm -f Tcl_InterpDeleted.3 ln CrtInterp.3 Tcl_InterpDeleted.3fiif test -r CrtMathFnc.3; then rm -f Tcl_CreateMathFunc.3 ln CrtMathFnc.3 Tcl_CreateMathFunc.3fiif test -r CrtObjCmd.3; then rm -f Tcl_CreateObjCommand.3 ln CrtObjCmd.3 Tcl_CreateObjCommand.3fiif test -r CrtObjCmd.3; then rm -f Tcl_DeleteCommand.3 ln CrtObjCmd.3 Tcl_DeleteCommand.3fiif test -r CrtObjCmd.3; then rm -f Tcl_DeleteCommandFromToken.3 ln CrtObjCmd.3 Tcl_DeleteCommandFromToken.3fiif test -r CrtObjCmd.3; then rm -f Tcl_GetCommandInfo.3 ln CrtObjCmd.3 Tcl_GetCommandInfo.3fiif test -r CrtObjCmd.3; then rm -f Tcl_SetCommandInfo.3 ln CrtObjCmd.3 Tcl_SetCommandInfo.3fiif test -r CrtObjCmd.3; then rm -f Tcl_GetCommandName.3 ln CrtObjCmd.3 Tcl_GetCommandName.3fiif test -r CrtSlave.3; then rm -f Tcl_IsSafe.3 ln CrtSlave.3 Tcl_IsSafe.3fiif test -r CrtSlave.3; then rm -f Tcl_MakeSafe.3 ln CrtSlave.3 Tcl_MakeSafe.3fiif test -r CrtSlave.3; then rm -f Tcl_CreateSlave.3 ln CrtSlave.3 Tcl_CreateSlave.3fiif test -r CrtSlave.3; then rm -f Tcl_GetSlave.3 ln CrtSlave.3 Tcl_GetSlave.3fiif test -r CrtSlave.3; then rm -f Tcl_GetMaster.3 ln CrtSlave.3 Tcl_GetMaster.3fiif test -r CrtSlave.3; then rm -f Tcl_GetInterpPath.3 ln CrtSlave.3 Tcl_GetInterpPath.3fiif test -r CrtSlave.3; then rm -f Tcl_CreateAlias.3 ln CrtSlave.3 Tcl_CreateAlias.3fiif test -r CrtSlave.3; then rm -f Tcl_CreateAliasObj.3 ln CrtSlave.3 Tcl_CreateAliasObj.3fiif test -r CrtSlave.3; then rm -f Tcl_GetAlias.3 ln CrtSlave.3 Tcl_GetAlias.3fiif test -r CrtSlave.3; then rm -f Tcl_GetAliasObj.3 ln CrtSlave.3 Tcl_GetAliasObj.3fiif test -r CrtSlave.3; then rm -f Tcl_ExposeCommand.3 ln CrtSlave.3 Tcl_ExposeCommand.3fiif test -r CrtSlave.3; then rm -f Tcl_HideCommand.3 ln CrtSlave.3 Tcl_HideCommand.3fiif test -r CrtTimerHdlr.3; then rm -f Tcl_CreateTimerHandler.3 ln CrtTimerHdlr.3 Tcl_CreateTimerHandler.3fiif test -r CrtTimerHdlr.3; then rm -f Tcl_DeleteTimerHandler.3 ln CrtTimerHdlr.3 Tcl_DeleteTimerHandler.3fiif test -r CrtTrace.3; then rm -f Tcl_CreateTrace.3 ln CrtTrace.3 Tcl_CreateTrace.3fiif test -r CrtTrace.3; then rm -f Tcl_DeleteTrace.3 ln CrtTrace.3 Tcl_DeleteTrace.3fiif test -r DString.3; then rm -f Tcl_DStringInit.3 ln DString.3 Tcl_DStringInit.3fiif test -r DString.3; then rm -f Tcl_DStringAppend.3 ln DString.3 Tcl_DStringAppend.3fiif test -r DString.3; then rm -f Tcl_DStringAppendElement.3 ln DString.3 Tcl_DStringAppendElement.3fiif test -r DString.3; then rm -f Tcl_DStringStartSublist.3 ln DString.3 Tcl_DStringStartSublist.3fiif test -r DString.3; then rm -f Tcl_DStringEndSublist.3 ln DString.3 Tcl_DStringEndSublist.3fiif test -r DString.3; then rm -f Tcl_DStringLength.3 ln DString.3 Tcl_DStringLength.3fiif test -r DString.3; then rm -f Tcl_DStringValue.3 ln DString.3 Tcl_DStringValue.3fiif test -r DString.3; then rm -f Tcl_DStringSetLength.3 ln DString.3 Tcl_DStringSetLength.3fiif test -r DString.3; then rm -f Tcl_DStringFree.3 ln DString.3 Tcl_DStringFree.3fiif test -r DString.3; then rm -f Tcl_DStringResult.3 ln DString.3 Tcl_DStringResult.3fiif test -r DString.3; then rm -f Tcl_DStringGetResult.3 ln DString.3 Tcl_DStringGetResult.3fiif test -r DetachPids.3; then rm -f Tcl_DetachPids.3 ln DetachPids.3 Tcl_DetachPids.3fiif test -r DetachPids.3; then rm -f Tcl_ReapDetachedProcs.3 ln DetachPids.3 Tcl_ReapDetachedProcs.3fiif test -r DoOneEvent.3; then rm -f Tcl_DoOneEvent.3 ln DoOneEvent.3 Tcl_DoOneEvent.3fiif test -r DoWhenIdle.3; then rm -f Tcl_DoWhenIdle.3 ln DoWhenIdle.3 Tcl_DoWhenIdle.3fiif test -r DoWhenIdle.3; then rm -f Tcl_CancelIdleCall.3 ln DoWhenIdle.3 Tcl_CancelIdleCall.3fiif test -r DoubleObj.3; then rm -f Tcl_NewDoubleObj.3 ln DoubleObj.3 Tcl_NewDoubleObj.3fiif test -r DoubleObj.3; then rm -f Tcl_SetDoubleObj.3 ln DoubleObj.3 Tcl_SetDoubleObj.3fiif test -r DoubleObj.3; then rm -f Tcl_GetDoubleFromObj.3 ln DoubleObj.3 Tcl_GetDoubleFromObj.3fiif test -r Eval.3; then rm -f Tcl_Eval.3 ln Eval.3 Tcl_Eval.3fiif test -r Eval.3; then rm -f Tcl_VarEval.3 ln Eval.3 Tcl_VarEval.3fiif test -r Eval.3; then rm -f Tcl_EvalFile.3 ln Eval.3 Tcl_EvalFile.3fiif test -r Eval.3; then rm -f Tcl_GlobalEval.3 ln Eval.3 Tcl_GlobalEval.3fiif test -r EvalObj.3; then rm -f Tcl_EvalObj.3 ln EvalObj.3 Tcl_EvalObj.3fiif test -r EvalObj.3; then rm -f Tcl_GlobalEvalObj.3 ln EvalObj.3 Tcl_GlobalEvalObj.3fiif test -r Exit.3; then rm -f Tcl_Exit.3 ln Exit.3 Tcl_Exit.3fiif test -r Exit.3; then rm -f Tcl_Finalize.3 ln Exit.3 Tcl_Finalize.3fiif test -r Exit.3; then rm -f Tcl_CreateExitHandler.3 ln Exit.3 Tcl_CreateExitHandler.3fiif test -r Exit.3; then rm -f Tcl_DeleteExitHandler.3 ln Exit.3 Tcl_DeleteExitHandler.3fiif test -r ExprLong.3; then rm -f Tcl_ExprLong.3 ln ExprLong.3 Tcl_ExprLong.3fiif test -r ExprLong.3; then rm -f Tcl_ExprDouble.3 ln ExprLong.3 Tcl_ExprDouble.3fiif test -r ExprLong.3; then rm -f Tcl_ExprBoolean.3 ln ExprLong.3 Tcl_ExprBoolean.3fiif test -r ExprLong.3; then rm -f Tcl_ExprString.3 ln ExprLong.3 Tcl_ExprString.3fiif test -r ExprLongObj.3; then rm -f Tcl_ExprLongObj.3 ln ExprLongObj.3 Tcl_ExprLongObj.3fiif test -r ExprLongObj.3; then rm -f Tcl_ExprDoubleObj.3 ln ExprLongObj.3 Tcl_ExprDoubleObj.3fiif test -r ExprLongObj.3; then rm -f Tcl_ExprBooleanObj.3 ln ExprLongObj.3 Tcl_ExprBooleanObj.3fiif test -r ExprLongObj.3; then rm -f Tcl_ExprObj.3 ln ExprLongObj.3 Tcl_ExprObj.3fiif test -r FindExec.3; then rm -f Tcl_FindExecutable.3 ln FindExec.3 Tcl_FindExecutable.3fiif test -r FindExec.3; then rm -f Tcl_GetNameOfExecutable.3 ln FindExec.3 Tcl_GetNameOfExecutable.3fiif test -r GetIndex.3; then rm -f Tcl_GetIndexFromObj.3 ln GetIndex.3 Tcl_GetIndexFromObj.3fiif test -r GetInt.3; then rm -f Tcl_GetInt.3 ln GetInt.3 Tcl_GetInt.3fiif test -r GetInt.3; then rm -f Tcl_GetDouble.3 ln GetInt.3 Tcl_GetDouble.3fiif test -r GetInt.3; then rm -f Tcl_GetBoolean.3 ln GetInt.3 Tcl_GetBoolean.3fiif test -r GetOpnFl.3; then rm -f Tcl_GetOpenFile.3 ln GetOpnFl.3 Tcl_GetOpenFile.3fiif test -r GetStdChan.3; then rm -f Tcl_GetStdChannel.3 ln GetStdChan.3 Tcl_GetStdChannel.3fiif test -r GetStdChan.3; then rm -f Tcl_SetStdChannel.3 ln GetStdChan.3 Tcl_SetStdChannel.3fiif test -r Hash.3; then rm -f Tcl_InitHashTable.3 ln Hash.3 Tcl_InitHashTable.3fiif test -r Hash.3; then rm -f Tcl_DeleteHashTable.3 ln Hash.3 Tcl_DeleteHashTable.3fiif test -r Hash.3; then rm -f Tcl_CreateHashEntry.3 ln Hash.3 Tcl_CreateHashEntry.3fiif test -r Hash.3; then rm -f Tcl_DeleteHashEntry.3 ln Hash.3 Tcl_DeleteHashEntry.3fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -