ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] [git update] packages/fortunes-ALT-irc: heads/master
Date: Tue, 8 Jan 2008 01:51:58 +0300
Message-ID: <20080107225158.GE1340@wo.int.altlinux.org> (raw)
In-Reply-To: <20080107221334.B7DC71CB4839@ssh.git.local.altlinux.org>

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

On Tue, Jan 08, 2008 at 01:13:34AM +0300, Vladimir V. Kamarzin wrote:
> Update of /people/vvk/packages/fortunes-ALT-irc.git
> 
> Changes statistics since `20070421-alt1-114-g8ba5b20' follows:
>  ALT-irc |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> Changelog since `20070421-alt1-114-g8ba5b20' follows:
> commit af636657480a2bce626c5661ba6b79529f403411
> Author: Vladimir V. Kamarzin <vvk@altlinux>
> Date:   Tue Jan 8 03:10:37 2008 +0500
> 
>     +1
> 
> Full diff since `20070421-alt1-114-g8ba5b20' follows:
> diff --git a/ALT-irc b/ALT-irc
> index 7932b6d..41bfb8b 100644
> --- a/ALT-irc
> +++ b/ALT-irc
> @@ -3838,4 +3838,11 @@ lioka зашел на #altlinux
>  <hiddenman> thresh: так это ты??
>  <thresh> ну мантяин я
>  <thresh> леееенииииивы-ы-ы-ы-ый
> +%
> +<gns>         CVAL=`echo $(eval echo \\\$"$CVAR")`
> +<gns>         echo $CVAR is $CVAL
> +<gns> во, работает
> +<gns> .o0 главное это ldv не показывать :)
> +<gns> наверняка он скажет : "так делать нельзя ни в коем случае, а для решения
> +      задачи используйте blablabla"

Я считаю что конструкция
eval "CVAL=\"\$$CVAR\""
предпочтительнее, ибо она
+ надёжнее (не искажает значение переменной);
+ быстрее (нет запуска двух лишних subshell'ов);
+ проще.


-- 
ldv

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

       reply	other threads:[~2008-01-07 22:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 22:51 ` Dmitry V. Levin [this message]
2008-01-07 23:41   ` Alexey I. Froloff

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=20080107225158.GE1340@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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