Привет Всем! On Sat, 21 Sep 2002 21:16:13 +0400 Heavenly wrote: > Как для фортунки создать файл с девизами из обычного текстового? Краткий экскурс в man man fortune листаем в самый конец SEE ALSO re_comp(3), regcomp(3), strfile(1), unstr(1) man strfile DESCRIPTION strfile reads a file containing groups of lines separated by a line con- taining a single percent `%' sign (or other specified delimiter character) and creates a data file which contains a header structure and a table of file offsets for each group of lines. This allows random access of the strings. The output file, if not specified on the command line, is named source- file.dat. То есть делаете файл file.txt, где знакок '%' разделяете выражения. Потом strfile (/usr/sbin/strfile) натравляете на этот файл, а далее fortune file.txt Надеюсь, что этот краткий экскурс в man поможет вам более быстро и качественно искать ответы на свои вопросы. -- С наилучшими пожеланиями, Иван Евтухович mailto: evtuhovich@mail.ru ICQ UIN: 52227602 JID: evtuhovich@jabber.org