gfind . "(" -path "*/SCCS" -o -path "*/RCS" -o -path "*/CVS" -o -path "*/MCVS" -o -path "*/.svn" -o -path "*/.git" -o -path "*/.hg" -o -path "*/.bzr" -o -path "*/_MTN" -o -path "*/_darcs" -o -path "*/{arch}" ")" -prune -o -type f "(" -iname "*.h" -o -iname "*.c" -o -iname "*.cpp" ")" -exec grep -i -nH -e "find message" {} NUL ";"
gfind = gnu find command
. = start path
2010年8月25日水曜日
2010年8月23日月曜日
EMACS function list in c source file
char foo (int a, int b)
unsigned int bar(int a, int b)
static unsigned short foobar (int a)
grep -nH -x -P "^([\w\d]+|[\w\d]+\s+[\w\d]+|[\w\d]+\s+[\w\d]+\s+[\w\d]+)\s+(.+)\s*\(.+\)\s*$" filename
-n, --line-number print line number with output lines
-H, --with-filename print the filename for each match
-x, --line-regexp force PATTERN to match only whole lines
-P, --perl-regexp PATTERN is a Perl regular expression
unsigned int bar(int a, int b)
static unsigned short foobar (int a)
grep -nH -x -P "^([\w\d]+|[\w\d]+\s+[\w\d]+|[\w\d]+\s+[\w\d]+\s+[\w\d]+)\s+(.+)\s*\(.+\)\s*$" filename
-n, --line-number print line number with output lines
-H, --with-filename print the filename for each match
-x, --line-regexp force PATTERN to match only whole lines
-P, --perl-regexp PATTERN is a Perl regular expression
2010年4月1日木曜日
Embedded Programming with the GNU Toolchain
Embedded Programming with the GNU Toolchain
-->http://www.bravegnu.org/gnu-eprog/index.htmlUboot
Upgrading homeserver hardware
-->http://blog.thebehrens.net/2009/11/22/upgrading-homeserver-hardware/QEMU
QEMU
-->http://wiki.archlinux.org/index.php/QEMUBare metal
-->http://wiki.openmoko.org/wiki/Bare_metal\Simplest bare metal program for ARM
-->http://balau82.wordpress.com/2010/02/14/simplest-bare-metal-program-for-arm/Hello world for bare metal ARM using QEMU
-->http://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/U-boot for ARM on QEMU
-->http://balau82.wordpress.com/2010/03/10/u-boot-for-arm-on-qemu/QEMU Emulator User Documentation
-->http://wiki.qemu.org/download/qemu-doc.html#Linux-User-space-emulator2010年2月15日月曜日
登録:
投稿 (Atom)