ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@vzljot.ru>
To: community@altlinux.ru
Subject: [Comm] Bash string for escape symbols in string
Date: Mon, 21 Feb 2005 14:30:48 +0300
Message-ID: <4219C668.6030602@vzljot.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

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

Подскажите, pls, чем из coreutils из функций bash можно
экранировать спец. символы в строке? Экранировать нужно именно с
помощью \, т.к. есть подозрение, что передачу списка имён файлов
с пробелами из меню mc в
growisofs ... graft-points list_of_files
с помощью кавычек не сделать.

По крайней мере, такая конструкция с разными вариантами кавычек у
меня не заработала - ищется каталог из первого слова первого
каталога.

     GRAFT_OPT=
     for i in %t
     do
         GRAFT_OPT=$GRAFT_OPT\ /$i=$i
     done
     growisofs -Z /dev/cdrecorder -R -jcharset cp1251
-graft-points "$GRAFT_OPT"

--
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

             reply	other threads:[~2005-02-21 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21 11:30 Vitaly Ostanin [this message]
2005-02-21 12:14 ` Dmitry V. Levin
2005-02-21 12:21   ` [Comm] " Vitaly Ostanin
2005-02-21 13:32     ` [Comm] Re: growisofs (was: Bash string for escape symbols in string) Vitaly Ostanin
2005-02-21 22:28       ` [Comm] quotation in shell Dmitry V. Levin

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=4219C668.6030602@vzljot.ru \
    --to=vyt@vzljot.ru \
    --cc=community@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 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