Re: [Linux] sed

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Baris Onol (onolba@itu.edu.tr)
Date: Tue 07 Dec 2004 - 18:58:53 EET


yardiminiz icin tesekkurler. daha once yaptigim halde bu isi head le yapmak
aklima gelmemisti.

baris

>
> #!/bin/sh
>
> IFS_YEDEK=$IFS;
> IFS=$'\n';
>
> declare -i a;
>
> let a=1;
> for satir in `cat /satirlari/goruntulenecek/dosya|head -n 100`; do
> echo "$a. satir: $satir";
> let a=$a+1;
> done
>
> IFS=$IFS_YEDEK;
> exit;
>

-------------------------------------------------
This mail sent through IMP: http://webmail.itu.edu.tr
_______________________________________________
Linux mailing list
Linux@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.