포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 20MB 입니다.

#!/bin/sh

if [ $# = 1 ]
then
        dir=.
else if [ $# = 2 ]
then
        dir=$2
else
        echo "USAGE: gref patten [path]"
        exit 1
fi
fi

find $dir -type f -exec grep -l "$1" {} ;
   -exec grep -n "$1" {} ;
   -exec echo " " ;

============

커널에서 스트링 서칭할때 많이 사용하는 녀석입니다.

gref  "찾고자하는 string"을 넣어주면 됩니다.

 
List of Articles
번호 제목 글쓴이 날짜 조회 수sort

펌웨어 프로그래밍 팁 - gotoxy()

dos2unix source & site file

grep을 이용한 검색 script ==> gref

framebuffer capture하기 [1]

Linux 101 Hacks file [1]

wxWidget mysql direct access file

The GNU Binary Utilities - How to Using binutils file

micro second to jiffies 변환

C Library ABI for the ARM®Architecture file

POSIX Serial Programming Guide file

CVS 디렉터리 날리는 방법

The GNU Make - How to Using Make file

간단한 리눅스 firewall script

한글 mount/samba option

유용한 ARM 어셈블리 매크로

SDL에서 touchscreen enable 시키는 방법

일본어 mount option

The GNU Linker - How to Using ld file

ARM ADS Errors and Warning 코드 설명 file

펌웨어 프로그래밍 팁 - 2진수 처리기

사용자 로그인