ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Chistikov <dd1email@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Как скопировать теги из одного mp3 в другой?
Date: Thu, 6 Aug 2009 16:29:52 +0400
Message-ID: <2876aabc0908060529l743b6e48o13ae53873e26d755@mail.gmail.com> (raw)
In-Reply-To: <200908061519.26467.khedin@mail.ru>

> Э, так mp3info умеет \n внутри -p. Ну и вот, делаем разбивку на строки и
> скармливаем xargs. Должно сработать. Если только там нет пункта lyrics, в
> котором как раз могут быть переносы строки.

Иными словами, идея та же - использование xargs с учетом тех или иных
ограничений на входные данные.

> echo использовать нельзя, т.к. съест переносы

Вы хотите сказать, что вместо
printf %s "$TAG"
нельзя использовать
echo "$TAG"
?
Если так, нельзя ли услышать обоснование?

> P.S. Похоже, в mp3info баг: если в строке формата указать \x00, то она
> обрезается ровно по это место.

Я вообще сомневаюсь в целесообразности использования ID3v1-тегов, хотя
это уже JT, если не offtopic.

-- 
Дмитрий Чистиков,
dd1email at gmail dot com

  reply	other threads:[~2009-08-06 12:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-05 18:06 Olexander Chernetskyy
2009-08-05 18:58 ` Dmitry Chistikov
2009-08-05 19:22   ` Max Ivanov
2009-08-06  6:54     ` Dmitry Chistikov
2009-08-06 11:19 ` Konstantin S. Uvarin
2009-08-06 12:29   ` Dmitry Chistikov [this message]
2009-08-07 12:37     ` [Comm] [JT] " Konstantin S. Uvarin
2009-08-07 14:26       ` Dmitry Chistikov
2009-08-06 16:00   ` [Comm] " Olexander Chernetskyy

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=2876aabc0908060529l743b6e48o13ae53873e26d755@mail.gmail.com \
    --to=dd1email@gmail.com \
    --cc=community@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 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