[LINUX:3546] Re: (no subject)

Gorkem Cetin (e077245@narwhal.cc.metu.edu.tr)
Thu, 11 Feb 1999 01:31:06 +0200 (EET)


>
> On Wed, 10 Feb 1999, ilker [iso-8859-1] imamoğlu wrote:
>
> > sonra da
> > while read x
> > do
> > grep -l string $x
> > done <dosya.lst
> >
> > ile pathi grepe değişken olarak attım. Gayet guzel calıstı. baska ilginc
> > yollarda olabilir herhalde ama benim elimden bu geldi.
>
> for x in * # butun dosyalar icin don
> do
> if [ -f $x ] #dosya gercekten dosya mi, yoksa dizin mi?
> then
> grep string $x
> fi
> done

grep -l cokelek `find` 2>/dev/null

-- gorkem
>
>
>
> kolay gelsin
> Sezai
>
>
> Listeden cikmak icin:
> unsub linux
> mesajini listeci@bilkent.edu.tr'a gonderiniz.
> Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
> Liste arsivinin adresi: http://listweb.bilkent.edu.tr/
>
>


Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr'a gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/