ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Bolshakov <s.bolshakov@sam-solutions.net>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: RPM против скриптов
Date: Fri, 26 Sep 2003 14:49:27 +0300
Message-ID: <m31xu322ig.fsf@pc313.belcaf.minsk.by> (raw)
In-Reply-To: <20030926105210.GB12987@julia.office.altlinux.ru> (Alexey Tourbin's message of "Fri, 26 Sep 2003 14:52:10 +0400")

>>>>> "Alexey" == Alexey Tourbin <at@altlinux.ru> writes:

 > On Fri, Sep 26, 2003 at 12:50:24AM +0400, Canis Cerberus wrote:
 >> cd имя_каталога
 >> sh name_script

 > 2ldv: на самом деле проблема в этом скрипте в следующем:

 > #!/bin/sh
 > ...
 > # doesn't work. \
 > wish=`( for name in $(ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | grep wish8.4); do echo $name ; done ) | tail -1`
 > # \
 > [ -z "$wish" ] && wish=`(for name in $(ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | grep wish8.3); do echo $name ; done ) | t
 > exec $wish "$0" ${1+"$@"}
 > ...
 > proc CheckPrograms {} {
 >     global tcl_version errorCode tcl_platform
 > ...

 > Т.е. в одном скрипте находится как shell код (до запуска exec wish), так
 > и tcl/tk код (после запуска wish).  Дело, видимо, в том, что tcl
 > разрешает "слеивание" комментариев через "\", а sh не разрешает, поэтому
 > оно работает. :)

 >> >  Отключать не надо, специфическую проблему с B::OP я уже исправил.
 >> 
 >> Если эта ошибка уже FIXED то попробую скачать обновления :-)

 > Да нет, ваша проблема не связана с B::OP.

Поскольку wish у нас один и известном месте, вся эта машинерия
не сдалась.  #!/usr/bin/wish достаточно

-- 


  parent reply	other threads:[~2003-09-26 11:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-23 18:38 [devel] " Canis Cerberus
2003-09-23 19:42 ` Sergey V Turchin
2003-09-23 20:08   ` Anton Farygin
2003-09-24 17:14     ` Canis Cerberus
2003-09-25  8:54       ` Dmitry V. Levin
2003-09-26  6:14         ` Alex Ott
2003-09-26  8:37           ` Dmitry V. Levin
2003-09-26  9:57             ` Alex Ott
2003-09-26 10:13               ` Dmitry V. Levin
2003-09-25 10:48       ` Anton Farygin
2003-09-25 13:20       ` [devel] " Alexey Tourbin
2003-09-25 20:50         ` Canis Cerberus
2003-09-26 10:52           ` Alexey Tourbin
2003-09-26 11:23             ` Dmitry V. Levin
2003-09-26 11:49             ` Sergey Bolshakov [this message]
2003-09-27  9:23     ` Mikhail Zabaluev
2003-09-27 11:10       ` Alexey Tourbin
2003-09-24  6:04 ` [devel] " Anton Farygin
2003-09-24  6:15   ` Dmitry V. Levin
2003-09-24  6:25     ` Anton Farygin

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=m31xu322ig.fsf@pc313.belcaf.minsk.by \
    --to=s.bolshakov@sam-solutions.net \
    --cc=devel@altlinux.ru \
    /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