ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] /bin/sh $'\t'
@ 2007-03-25 18:59 Alexey Tourbin
  2007-03-26  7:08 ` Alexey Gladkov
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2007-03-25 18:59 UTC (permalink / raw)
  To: devel

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

Я и vsu сумбурно обсудили на канале вопрос совместимости шеллов.
Встал вопрос, насколько стандартной является нотация $'\t'.
Я сослался на /usr/share/doc/zshguide/zshguide05.html:
I refer to them as `POSIX quotes' because they appear in the POSIX standard and I don't know what else to call them
vsu сказал что нотации $'C-escapes' в SUSv3 нет.
Я сказал что стандартным шеллом следует считать (POSIX || SUSv3) && BASH.

Вопрос: кто видел POSIX стандарт и есть ли там нотация $'\t' $'\n' и т.п.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [devel] /bin/sh $'\t'
  2007-03-25 18:59 [devel] /bin/sh $'\t' Alexey Tourbin
@ 2007-03-26  7:08 ` Alexey Gladkov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Gladkov @ 2007-03-26  7:08 UTC (permalink / raw)
  To: ALT Devel discussion list

Alexey Tourbin пишет:
> Я и vsu сумбурно обсудили на канале вопрос совместимости шеллов.
> Встал вопрос, насколько стандартной является нотация $'\t'.
> Я сослался на /usr/share/doc/zshguide/zshguide05.html:
> I refer to them as `POSIX quotes' because they appear in the POSIX standard and I don't know what else to call them
> vsu сказал что нотации $'C-escapes' в SUSv3 нет.
> Я сказал что стандартным шеллом следует считать (POSIX || SUSv3) && BASH.
> 
> Вопрос: кто видел POSIX стандарт и есть ли там нотация $'\t' $'\n' и т.п.

Специально искал стандарт на shell чтобы ash проверять.

http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001

-- 
Rgrds, legion



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

end of thread, other threads:[~2007-03-26  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25 18:59 [devel] /bin/sh $'\t' Alexey Tourbin
2007-03-26  7:08 ` Alexey Gladkov

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