- 博客(6)
- 收藏
- 关注
原创 在Makefile中检查环境变量
#Makefile that will check env varsCC = gccCFLAGS += -D$(TARGET_TYPE)all: checkenv helloSRC = $(wildcard *.c)OBJ = $(SRC:%.c=%.o)checkenv: @ if [ -z $$TARGET_TYPE ]; then echo TARGET_
2006-02-25 12:45:00
2800
原创 Balanced binary tree 扩展
Balanced binary tree 扩展,增加get-next函数1、去掉is_left_child2、else if (cmp >= 0){ if (node->right) { node = node->right; } else { if (NULL != prenode) { return prenode->data
2006-02-24 23:25:00
707
原创 shell programming 经验总结
shell programming 经验总结1. 脚本的分行经过试验,可以将多行的shell脚本写成一行,一次执行多个命令之间用";"分隔,控制结构可以参考man bash,这样就可以用system函数来执行一个长脚本了。如果将一行的脚本写成多行(通常的做法,可读性较好),原来控制结构的";"可以用换行符代替,原来的";"可保留可不保留。但";;"不可用一个换行符加一个";"代替.下面
2006-02-12 16:25:00
1063
转载 转载:Shell Programming
转载自:http://mercury.chem.pitt.edu/~sasha/LinuxFocus/English/September2001/article216.shtmlby Katja and Guido Socher About the authors:Katja is the German editor of LinuxFocus. She likes Tux, film
2006-02-12 14:51:00
1332
转载 转载:UNIX Bourne Shell Scripting
UNIX Bourne Shell Scripting 转载自:http://research.imb.uq.edu.au/~ksteube/Bshell/Ken SteubeInstitute for Molecular BioscienceThe University of QueenslandAustralia These notes teach you how to wri
2006-02-12 14:35:00
1256
转载 转载:Bourne Shell Programming
Bourne Shell Programming转载自:http://www.ooblick.com/text/sh/This document is also available in LaTeX2e and gzipped PostScript formats. The slides that accompanied the original talk are also availab
2006-02-12 14:20:00
1067
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人