bash学习之四:介绍调试bash脚本的三个选项

来源:互联网 发布:自录歌曲软件 编辑:程序博客网 时间:2024/05/29 09:14

set –f                 Disable file name generation using metacharacters

set –v                Prints shell input lines as they are read

set –x                Print command rtaces before executing command

上面列出了用于调试脚本的三个选项的英文含义,其中有个生词:metacharacter,它怎么翻译为中文,我也不知道,但其英文注释为:A metacharacter is a character that has a special meaning (instead of a literal meaning) to a computer program, such as a shell interpreter or a regular expression engine,说白了,就是那些有特殊含义的字符,比如:*。

原创粉丝点击