From: "Иван Евтухович" <evtuhovich@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] fortune
Date: Sun, 22 Sep 2002 12:23:18 +0400
Message-ID: <20020922122318.52db8c59.evtuhovich@mail.ru> (raw)
In-Reply-To: <200209212116.13986.heavenly@nm.ru>
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
Привет Всем!
On Sat, 21 Sep 2002 21:16:13 +0400
Heavenly <heavenly@nm.ru> 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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-09-22 8:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-21 17:16 Heavenly
2002-09-22 8:23 ` Иван Евтухович [this message]
2002-09-23 4:42 ` Maxim Savrilov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020922122318.52db8c59.evtuhovich@mail.ru \
--to=evtuhovich@mail.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git