ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] конвертировать из cp1251 в koi8-r
@ 2005-03-29 12:41 Grigory Fateyev
  2005-03-29 13:01 ` Nick S. Grechukh
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Grigory Fateyev @ 2005-03-29 12:41 UTC (permalink / raw)
  To: community

Здравствуйте!

Надо конвертировать группу файлов из cp1251 в koi8-r, вот нашкрябал но
не работает.

find -type f -name "*.txt" -exec bash -c 'old="{}"; iconv -c -f
cp1251 -t koi8-r | new=`cat /dev/null > $old`; mv "$old" "$new"' \;

Где ошибка?

Спасибо!
-- 
Всего наилучшего!
greg_[at]_anastasia_[dot]_ru Григорий.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-03-30 11:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-29 12:41 [Comm] конвертировать из cp1251 в koi8-r Grigory Fateyev
2005-03-29 13:01 ` Nick S. Grechukh
2005-03-29 14:26   ` Grigory Fateyev
2005-03-30  8:13     ` Nick S. Grechukh
2005-03-29 13:27 ` Andrey Rahmatullin
2005-03-30 11:30 ` Sergey Shilov
2005-03-30  8:39   ` Nick S. Grechukh

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