ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Скрипт для zsh
@ 2005-04-24 14:49 php-coder
  0 siblings, 0 replies; only message in thread
From: php-coder @ 2005-04-24 14:49 UTC (permalink / raw)
  To: community


    Здравствуйте!

    Пытаюсь написать скрипт-обертку для mutt. Вот, что получилось:

    if [ ${1:0:1} != "-" ]; then
       [ -f $HOME/.mutt/mail/$1 ] && \
       mutt -f \=$1 || \
       (echo "Не правильный почтовый ящик" >> /dev/stderr; exit 1)
    else
       mutt $*
    fi

    Но эта конструкиця худо-бедно рабоающая в bash никак не хочет работать
    в zsh :(

    mutt_wrapper:2: unrecognized modifier `0'

    Подскажите как решить проблему, пожалуйста... Спасибо!



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-24 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-24 14:49 [Comm] Скрипт для zsh php-coder

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