ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] sed
Date: Tue, 8 Aug 2006 22:44:27 +0300
Message-ID: <20060808194427.GT27285@osdn.org.ua> (raw)
In-Reply-To: <44D88D28.3080802@altlinux.ru>

On Tue, Aug 08, 2006 at 05:10:00PM +0400, Anton Gorlov wrote:
> >> ver=1.2.3
> >> newver=`echo ${ver} | sed 's/\.//g'`
> >> sed "s/RADIUS_VERSION\t105/RADIUS_VERSION\t${newver}/g" -i conf.h
> >> Вопрос - как бы обойтись здесь без дополнительной переменной $newver?
> > А что, не хватает для нее памяти ? :)
> Нет. Просто не хочется в спек вводить лишние сущности...

Это нормально, если с ними читабельней.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2006-08-08 19:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 10:07 Anton Gorlov
2006-08-08 10:33 ` Artem Zolochevskiy
2006-08-08 10:36   ` Anton Gorlov
2006-08-15 10:24     ` Fr. Br. George
2006-08-08 10:35 ` LVU
2006-08-08 11:59 ` Yura Kalinichenko
2006-08-08 13:10   ` Anton Gorlov
2006-08-08 19:44     ` Michael Shigorin [this message]
2006-08-08 19:50       ` Andrey Rahmatullin
2006-08-21 16:17 ` Peter Volkov

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=20060808194427.GT27285@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /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