ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] awk question
@ 2003-03-18 21:04 Vadim Vinichenko
  2003-03-18 22:45 ` Olga
  2003-03-20 22:20 ` [Comm] " Alexey Tourbin
  0 siblings, 2 replies; 4+ messages in thread
From: Vadim Vinichenko @ 2003-03-18 21:04 UTC (permalink / raw)
  To: community

Уважаемые коллеги,

Подскажите, пожалуйста, можно ли, используя awk (разделитель - пробел), 
заставить его считать подстроку в кавычках одним полем, независимо от 
наличия пробелов внутри. То есть, для:

aaa bbb "ccc ddd eee"

$3 должно быть равно "ccc ddd eee" (или ccc ddd eee, без кавычек).

Я, собственно, разбираю лог веб-сервера, а там строка идентификации 
агента содержит пробелы. Что-то я не могу найти ответа на свой вопрос в 
документации. Или это уже не к awk?

--
С уважением,
Вадим



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

end of thread, other threads:[~2003-03-20 22:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18 21:04 [Comm] awk question Vadim Vinichenko
2003-03-18 22:45 ` Olga
2003-03-19 20:02   ` Vadim Vinichenko
2003-03-20 22:20 ` [Comm] " Alexey Tourbin

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