那些年写过的shell---the function of debug
来源:互联网 发布:读图知天下 编辑:程序博客网 时间:2024/05/22 13:08
#! /bin/bash
################################################
##Author: freeking
##Created: Oct 27th 2013
##Description enable the debug useage
################################################
DEBUG="dd"
function debug()
{
if [ $DEBUG ]
then
echo ">>>>>"
fi
}
#function debug1() { (($DEBUG)) && echo "====== $*";}
function debug2() { [ "$DEBUG" ] && echo "-------$*";}
debug "Trying to find config file"
#debug1 "Trying ================="
debug2 "Trying
################################################
##Author: freeking
##Created: Oct 27th 2013
##Description enable the debug useage
################################################
DEBUG="dd"
function debug()
{
if [ $DEBUG ]
then
echo ">>>>>"
fi
}
#function debug1() { (($DEBUG)) && echo "====== $*";}
function debug2() { [ "$DEBUG" ] && echo "-------$*";}
debug "Trying to find config file"
#debug1 "Trying ================="
debug2 "Trying
- 那些年写过的shell---the function of debug
- 那些年写过的shell-----The useage of until
- 那些年写过的shell---The useage of while
- 那些年写过的shell-----enable the color of echo
- 那些年写过的shell----select的使用
- 那些年写过的shell------模式匹配
- 那些年写过的shell-----内置变量
- 那些年写过的shell-----判断用户变量
- 那些年写过的shell---- build in command
- 那些年写过的shell-----getopts实现菜单效果
- 那些年写过的shell-----------查找当前目录及子目录下>60K的目录
- 那些年,写过的代码
- 那些年写过的C语言
- 那些年我写过的代码
- 那些年写过的贪吃蛇
- 那些年写过的有趣注释
- 那些年我们写过的爬虫
- 那些年写过的选择器
- ARM的快速上下文切换(FCSE)
- at com.mysql.jdbc.PreparedStatement.asSql
- ARM存储管理系统MMU
- 语音训练系统ant4 sphinxtrain
- STM32的中断处理2
- 那些年写过的shell---the function of debug
- Vijos P1034家族 并查集基础
- 中国强大的双卡双待手机读取IMEI号
- 在HorizontalScrollView里添加自定义View的效率问题
- Ubuntu 12.10 下安装拼音输入法
- Ext 始终window居中显示
- 开启归档模式及其相关参数
- SEA平台布署Python+django项目
- 加入XHTML DOCTYPE声明