ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] md5sum
Date: Wed, 26 Oct 2005 16:31:48 +0400
Message-ID: <20051026123148.GB9873@basalt.office.altlinux.org> (raw)
In-Reply-To: <200510261433.26098.trash4@yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]

On Wed, Oct 26, 2005 at 02:33:25PM +0400, Guest007 wrote:
> В сообщении от Среда 26 Октябрь 2005 14:19 Andrei Bulava написал(a):
> > Guest007 wrote:
[...]
> > > Отвечаю.
> > > $ md5sum .bashrc
> > > 27e3c6a46379a688970ab57de1da3f32 *.bashrc
> > >
> > > Вопрос. Откуда звёздочка? И что с неё делать?
> > > Раньше не было.
> >
> > Отвечу и на этот вопрос ;-)
> >
> > $ md5sum -t .bashrc
> > 27e3c6a46379a688970ab57de1da3f32  .bashrc
> > $ md5sum -b .bashrc
> > 27e3c6a46379a688970ab57de1da3f32 *.bashrc
> > $ md5sum .bashrc
> > 27e3c6a46379a688970ab57de1da3f32  .bashrc
> > $ rpm -qf `which md5sum`
> > coreutils-5.3.1-alt0.4
> >
> > Видимо, в свежих coreutils по умолчанию файлы теперь читаются в двоичном
> > режиме (раньше это "умолчание" было платформно-зависимым: двоичный режим
> > в DOS/Windows, текстовый - на остальных платформах). У разработчиков
> > дошли руки исправить этот исторически сложившийся хаос и бардак.
> 
> DESCRIPTION
>        Print  or check MD5 (128-bit) checksums.  With no FILE, or when FILE is
>        -, read standard input.
> 
>        -b, --binary
>               read in binary mode
> 
>        -c, --check
>               read MD5 sums from the FILEs and check them
> 
>        -t, --text
>               read in text mode (default)
> 
> Это пишут в свежих (сегодняшних, alt2). Так что я это видел, но не догадался 
> поиграть с этим параметром.

Короче говоря, в результате бардака стало ещё больше.
Изменение формата вывода по умолчанию без видимой причины - это плохо.
Будем разбираться.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-10-26 12:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25  6:33 [sisyphus] Вчерашний dist-upgrade и переноска Сизифа Guest007
2005-10-26  9:50 ` Guest007
2005-10-26 10:10   ` Andrei Bulava
2005-10-26 10:11   ` Genix
2005-10-26 10:31     ` Guest007
2005-10-26 10:38       ` Genix
2005-10-26 10:19   ` Andrei Bulava
2005-10-26 10:33     ` Guest007
2005-10-26 12:31       ` Dmitry V. Levin [this message]
2005-10-26 13:45         ` [sisyphus] md5sum Andrei Bulava
2005-10-26 10:38     ` [sisyphus] [JT] Вчерашний dist-upgrade и переноска Сизифа Vladimir Lettiev
2005-10-26 11:01       ` Dmitry V. Levin
2005-10-26 23:02         ` [sisyphus] " Michael Shigorin
2005-10-26 23:18           ` Dmitry V. Levin
2005-10-26 11:38   ` [sisyphus] " Dmitry Lebkov

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=20051026123148.GB9873@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git