From: Maxim Savrilov <smi@belon.ru>
To: Henri Bourbon <community@altlinux.ru>
Subject: [Comm] Re: [Comm] [JT] Кесарю -- кесарево, bash'у -- bash'ево
Date: Thu, 19 Sep 2002 10:05:40 +0600
Message-ID: <432897464.20020919100540@belon.ru> (raw)
In-Reply-To: <11269095640.20020919034755@fastmail.fm>
Здравствуйте, Henri!
Thursday, September 19, 2002, 5:47:55 AM, you wrote:
HB> On 18 Sep 2002 20:12, Heavenly wrote:
>> P.P.S. Даа ... чуть не забыл! Есть файл, в нем девизы. Каждый
>> начинается с новой строчки. Как с помощью bash'a
>> выводить один девиз случайным образом?
HB> Как? Вы разве не проходили этого в начальной школе? 8-)
perl -e 'rand>>1/$. or $s=$_ while <>; print $s' MY_FILE
[skip]
а пуркуа бы не использовать фортунку ака fortune?
можно тогда иметь mottos не только из одной строчки
--
Best regards,
Maxim mailto:smi@belon.ru
Шар моей благодарности катается по коридору вашей любезности.
next prev parent reply other threads:[~2002-09-19 4:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-18 16:12 [Comm] bash & other & other Heavenly
2002-09-18 21:01 ` Aleksandr Blokhin
2002-09-19 12:47 ` Heavenly
2002-09-19 14:45 ` Aleksandr Blokhin
2002-09-19 16:55 ` Heavenly
2002-09-19 13:45 ` [Comm] " Michael Shigorin
2002-09-22 11:33 ` [Comm] Re: bash (точнее mutt) Heavenly
2002-09-23 15:20 ` Michael Shigorin
2002-09-18 23:47 ` [Comm] [JT] ëÅÓÁÒÀ -- ËÅÓÁÒÅ×Ï, bash'Õ -- bash'Å×Ï Henri Bourbon
2002-09-19 4:05 ` Maxim Savrilov [this message]
2002-09-19 12:56 ` [Comm] [JT] Кесарю -- кесарево, bash'у -- bash'ево Heavenly
2002-09-19 11:42 ` [Comm] Re: bash & other & other Michael Shigorin
2002-09-22 17:14 ` [Comm] " Valentin Nechayev
2002-09-22 18:41 ` [Comm] Re: [Comm][JT] " Alexander Kuprin
2002-09-23 14:18 ` ASA
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=432897464.20020919100540@belon.ru \
--to=smi@belon.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