ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Bash string for escape symbols in string
@ 2005-02-21 11:30 Vitaly Ostanin
  2005-02-21 12:14 ` Dmitry V. Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Vitaly Ostanin @ 2005-02-21 11:30 UTC (permalink / raw)
  To: community

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-21 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-21 11:30 [Comm] Bash string for escape symbols in string Vitaly Ostanin
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

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