From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: [JT] cat | less
Date: Thu Aug 9 12:22:01 2001
Message-ID: <20010809124814.B23624@localhost.localdomain> (raw)
In-Reply-To: <200108090649.f796nBL90722@www2.mailru.com>; from rromas@mailru.com on Thu, Aug 09, 2001 at 10:49:11AM +0400
Hello Roman,
On Thu, Aug 09, 2001 at 10:49:11AM +0400, Roman S wrote:
>
> Цитирую Henri Bourbon <npecca@yahoo.com>:
>
> > > cat /etc/postfix/aliases | less
> >
> > less /etc/postfix/aliases
> >
> > "Если вы запускаете cat лишь с одним аргументом,
> может, вы делаете что-то
>
> Психология, знаете ли... Пока мозги решают, что надо
> сделать - руки уже набирают команду.
> Логика в юниксах получается такая:
> "Надо вывести файл на экран"
> набрали "cat file"
> "С листанием, пожалуй..."
> набрали "| less"
У, меня обычно, вывод файла ассоциируется именно с less, а cat
отставлен для скриптов. less, когда имеет дело с файлом, а не с концом
трубы, показывает, например, его размер. Да и ресурсов на больших
файлах не кушает, а то, что валится из трубы, нужно еще где-то запомнить
на случай пользовательских метаний по тексту.
--
Stay tuned,
MhZ JID: mookid@jabber.org
___________
Most of your faults are not your fault.
prev parent reply other threads:[~2001-08-09 12:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-09 10:42 [mdk-re] " Roman S
2001-08-09 12:22 ` Mikhail Zabaluev [this message]
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=20010809124814.B23624@localhost.localdomain \
--to=mhz@alt-linux.org \
--cc=mandrake-russian@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