ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Торможу по поводу bash'а
@ 2006-07-07 10:34 Yury Aliaev
  2006-07-07 10:36 ` LVU
  0 siblings, 1 reply; 6+ messages in thread
From: Yury Aliaev @ 2006-07-07 10:34 UTC (permalink / raw)
  To: ALT Linux Community

Добрый день, Сообщчество!

Казалось бы, тривиальный вопрос, а я что-то торможу, как пионер на 
линейке... Пишу скриптик для создания предпросмотра картинок, и в том 
числе он должен на каждую картиночку ляпать её номер. Номер хранится в 
переменной $number нужно сделать что-то вроде
mogrify -draw 'text 3,0 "$number"' $img
Но в данной раскладек значение $number не раскрывается, и поверх 
картинки так и получается: $number. Помогите, как правильно делать, 
чтобы переменная раскрывалась _внутри_ кавычек, т.е., чтобы реально 
исполняемая команда была, к примеру
mogrify -draw 'text 3,0 "1"' image1.jpg

Заранее спасибо,
Юрий.


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

end of thread, other threads:[~2006-07-07 12:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 10:34 [Comm] Торможу по поводу bash'а Yury Aliaev
2006-07-07 10:36 ` LVU
2006-07-07 11:54   ` Yury Aliaev
2006-07-07 11:49     ` Alexey I. Froloff
2006-07-07 12:55       ` Yury Aliaev
2006-07-07 11:50     ` Slava Dubrovskiy

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