From: Yury Aliaev <mutab0r@rambler.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] Торможу по поводу bash'а Date: Fri, 07 Jul 2006 14:34:45 +0400 Message-ID: <44AE38C5.5080902@rambler.ru> (raw) Добрый день, Сообщчество! Казалось бы, тривиальный вопрос, а я что-то торможу, как пионер на линейке... Пишу скриптик для создания предпросмотра картинок, и в том числе он должен на каждую картиночку ляпать её номер. Номер хранится в переменной $number нужно сделать что-то вроде mogrify -draw 'text 3,0 "$number"' $img Но в данной раскладек значение $number не раскрывается, и поверх картинки так и получается: $number. Помогите, как правильно делать, чтобы переменная раскрывалась _внутри_ кавычек, т.е., чтобы реально исполняемая команда была, к примеру mogrify -draw 'text 3,0 "1"' image1.jpg Заранее спасибо, Юрий.
next reply other threads:[~2006-07-07 10:34 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-07-07 10:34 Yury Aliaev [this message] 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
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=44AE38C5.5080902@rambler.ru \ --to=mutab0r@rambler.ru \ --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