misc.cmd
来自「bash debugger. You can use this tool to 」· CMD 代码 · 共 95 行
CMD
95 行
set trace-commands on# Test of miscellaneous commands: # 'source', 'info args', 'show args', 'show warranty', 'show copying', etc.#### source command...source prof1.cmdsource prof2.cmd############################################# Test that ARGs are correct...print "_Dbg_arg#: ${#_Dbg_arg[@]}"print "\\$1: $1"print "\\$2: $2"############################################# Testing script args...info args############################################# Invalid commands...show badcommandanother-bad-commandtty#### *** GNU things...show warrantyinfo warrantyshow copying#### help commands...helphelp sethelp set foohelp set arhelp set annotatehelp set listsizehelp set prompthelp set editinghelp ttyhelp infoinfoshow#### and show...show argsset args now is the timeshow argsset editing offset editing foooshow editingset editingshow editingset misspelled 40set listsize 40set listsize badset annotate badset annotate 6show annotateset annotate 1show listsizeshow annotate############################# Test 'show commands'...show commandsshow commands +show commands -5show commands 12#### history...HH 5H 5 3hi 11!11!19:p!-3:p!-2! 2H -2H fooH 100000history -2history 10000#### pwd/cd commands...pwdcd .############################## Test 'prompt' and 'tty' ...set prompt bashdb${_Dbg_greater}$_Dbg_hi${_Dbg_less}$_Dbg_spaceshow prompttty /tmp/misc-output.checkl############################# Test 'file' command...file misc.cmd#### info variables (V) command...V dq*# On OS X there is some problem in doing the above and below commands# in succession. Further investigation is needed to fix this. # Until then..## info variables dq*quit
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?