Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: grep ? cat? tail?


  • Subject: Re: lug-bg: grep ? cat? tail?
  • From: vasil@xxxxxxxxxxx (Vasil Kolev)
  • Date: Fri, 17 May 2002 17:46:24 +0300 (EEST)



On Fri, 17 May 2002, Àíãåë Âúëêîâ wrote:

> Samo 4e mernata edinica niama da e "lines" , a "words", zashtoto
> razdelitelite s koito raboti fgets() sa '\xd' '\x9' '\xa' i shpacia.
> On GNU systems izpolzwai getline().
> On non GNU systems:    fscanf(f,"%100000[^'\n']\n",l);

Shah s peshkata... Otkoga ' ' e razdelitel za fgets? az pone ne sum
zabelqzal takova neshto....
Citat ot man-a:

fgets() reads in at most one less than size characters from stream and
stores them into the buffer pointed to by s.  Reading stops after an EOF
or a newline.  If a newline is read, it is stored into the buffer.  A '\0'
is stored after the last character in the buffer.

Inache tova koeto kaza za razdelitelite maj vazhi po-skoro kato pravish
fscanf(f,"%s",str);

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.