ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Evgenii Terechkov <evg@altlinux.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] кто не прав - скрипты в ~/bin
Date: Thu, 02 Nov 2006 15:38:34 +0700
Message-ID: <m3d5865jlh.fsf@evg.krastel.ru> (raw)
In-Reply-To: <eic9n7$lq2$1@sea.gmane.org> (Artem Zolochevskiy's message of "Thu, 02 Nov 2006 10:17:30 +0200")

Artem Zolochevskiy пишет:

> пробую вот что сделать
> [artem@alt ~]$ cat ~/bin/mc
> #!/bin/sh
> mcedit
> ну и теперь мне кажется, что по mc (enter) должен вызываться на самом деле
> mcedit. Где я не прав? Почему этого не происходит?
> [artem@alt ~]$ which mc
> /home/artem/bin/mc
> [artem@alt ~]$ mc
> запускает по прежнему mc :(

Там один бинарник (mcedit и mcview это симлинки), смотрящий на своё
argv[0]. Так что всё штатно.

-- 
                                        С уважением, системный
                                        администратор ООО "Крастел",
                                        Терешков Евгений.


  reply	other threads:[~2006-11-02  8:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02  8:17 Artem Zolochevskiy
2006-11-02  8:38 ` Evgenii Terechkov [this message]
2006-11-02  8:50 ` Eugene Ostapets
2006-11-02  9:38   ` Artem Zolochevskiy

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=m3d5865jlh.fsf@evg.krastel.ru \
    --to=evg@altlinux.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