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

📄 misc.cmd

📁 bash debugger. You can use this tool to debug bash shell script
💻 CMD
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -