shell脚本调试 -- 运行日志2

shell脚本调试 -- 运行日志1   本文主要描述如何输出shell脚本中的debug日志.   C/C++的debug日志     在C/C++中有 __FILE__, __func__, __LINE__ 来表示 当前这行日志来自哪一个源代码文件的第几行的哪一个函数. 如: #include<stdio.h>  /* t.c */ int main() {     printf("%s:%
相关文章
相关标签/搜索