原文連結得到長度%x="abcd"#方法一%expr length $x4# 方法二%echo ${#x}4# 方法三%expr "$x" : ".*"4# expr 的協助# STRING : REGEXP anchored pattern match of REGEXP in STRING尋找子串 %expr index $x "b"2%expr index $x "a"1%expr index $x "b"2%expr index $x "c"3%expr index $x
原文地址:http://hi.baidu.com/%CF%E6%CB%AE%C0%CB%D7%D3/blog/item/ce5d77171b24a8024b90a72f.htmlGDB用法小結1. gdb exe 使得exe程式運行在debug環境下2. break functiona 在functiona函數處設定端點 3. run 讓程式從main入口執行到斷點functiona4. n next,逐步執行,相當於VC中的調試命令step over5. s
The 16th Annual Jolt Product Excellence Award Winners BOOKS GENERALJolt Winner: Prefactoring by Ken Pugh (O'Reilly)Productivity Winners:• Innovation Happens Elsewhere: Open Source as Business Strategy by Ron Goldman, Richard P. Gabriel
1. EG3 關於嵌入式開發的站點,提供非常多關於嵌入式開發的資料。包括開發公司,技術文檔,免費資源等等。版麵包括busses & boards,embeddedsoftware,dsp,embedded systems,open source,rtos,embeddedchips,system-on-a-chip 等等。強烈推薦 http://www.eg3.com/ - 外文2. The First Stop for the Latest ICs and Components
http://www.esanu.name/programs/NSISKillProcess.htmlPlug-in help to terminate, close, quit and detect working any process from NSIS installer.Notes for usage:Download NSIS Installer NSIS Installer Download Kill Process for NSIS Unrar it and
查看系統基本資料$ cat /proc/version = “It returns a full string of information”$ uname -m = “The result of the machine’s number”$ uname -r = “Show the version of the kernel”$ uname -n = “Returns the local domain name”$ uname -s = “Will show the system name”