public inbox for gentoo-user-ru@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergey Kobzar <sergey.kobzar@mail.ru>
To: gentoo-user-ru@lists.gentoo.org
Subject: Re: [gentoo-user-ru] Re: [gentoo-user-ru] Два инстанса Sphinx
Date: Mon, 10 Jun 2013 11:20:42 +0300	[thread overview]
Message-ID: <51B58C5A.1000003@mail.ru> (raw)
In-Reply-To: <2477351370827923@web20h.yandex.ru>

On 06/10/13 04:32, Голубев Александр wrote:
> 10.06.2013, 02:01, "Sergey Kobzar" <sergey.kobzar@mail.ru>:
>> On 06/08/13 14:39, Sergey Popov wrote:
>>
>>>   07.06.2013 16:44, Sergey Kobzar пишет:
>>>>   cnffile="/etc/sphinx/sphinx`echo ${SVCNAME} | sed 's/searchd//'`.conf"
>>>   Лучше заменить на
>>>
>>>   cnffile="/etc/sphinx/sphinx${SVCNAME/searchd/}.conf"
>>
>> Первый раз такой синтаксис вижу. Это фитча runscript? Где сожно почитать?
> это фича bash'а, соответственно в man'ах и читать...
> в init-скриптах это не стоит использовать использовать т.к. они должны быть sh-совместимые... лучше так:
> cnffile="/etc/sphinx/sphinx${SVCNAME##searchd.}.conf"

Спасибо :)


  reply	other threads:[~2013-06-10  8:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 22:32 [gentoo-user-ru] Два инстанса Sphinx Sergey Kobzar
2013-06-06  7:02 ` [gentoo-user-ru] " Андрей Буров
2013-06-06 15:16   ` Sergey Kobzar
2013-06-06 17:23     ` [gentoo-user-ru] " Андрей Буров
2013-06-06 18:54       ` [gentoo-user-ru] " Sergey Popov
2013-06-06 19:10         ` [gentoo-user-ru] " Taz
2013-06-06 19:35         ` Sergey Kobzar
2013-06-07  6:22           ` [gentoo-user-ru] " Sergey Popov
2013-06-07  6:23             ` [gentoo-user-ru] " Sergey Popov
2013-06-07  8:28               ` [gentoo-user-ru] " Sergey Kobzar
2013-06-07 12:44                 ` Sergey Kobzar
2013-06-08 11:39                   ` Sergey Popov
2013-06-09 22:01                     ` Sergey Kobzar
2013-06-10  1:32                       ` [gentoo-user-ru] " Голубев Александр
2013-06-10  8:20                         ` Sergey Kobzar [this message]
2013-06-10 20:29                           ` Sergey Kobzar
2013-06-13 11:44                             ` Sergey Kobzar
2013-06-13 17:36                               ` Sergey Popov

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=51B58C5A.1000003@mail.ru \
    --to=sergey.kobzar@mail.ru \
    --cc=gentoo-user-ru@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox