ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igo <altlinux@aaanet.ru>
To: community@altlinux.ru
Subject: Re: [Comm] SED AWK
Date: Fri, 09 Apr 2004 15:30:58 +0400
Message-ID: <40768972.6090604@aaanet.ru> (raw)
In-Reply-To: <431034566.20040409152358@post.ural.ru>

Alexander Leschinsky пишет:

>Hello Igo,
>
>   On Fri, 09 Apr 2004 12:42:49 +0400 (09.04.2004 14:42 my local time),
>   received Friday, April 9, 2004 at 14:56:17,
>   you wrote about "[Comm] SED AWK"
>   at least in part:
>
>  
>
>>cat access.log | awk "{print $1"\t"$3}" > access.csv
>>    
>>
>Я бы хотел обратить Ваше внимание на то, что
>1. результат такого обгавкиванья будет не CSV ("comma-separated
>values"), а TDF ("tab-delimited file")
>2. Что awk|gawk|mawk принимает (может) в параметре CL имя файла данных
>
>gawk '{}' access.log
>
>в результате убираем один пайп и вызов cat
>
>man gawk на предмет split() для ответа на последний вопрос "как отрезать"
>  
>
Спасибо. разобрался



  reply	other threads:[~2004-04-09 11:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-09  8:04 Igo
2004-04-09  8:26 ` Alexey Morozov
2004-04-09  8:36 ` Mike Lykov
2004-04-09  8:42   ` Igo
2004-04-09  9:23     ` Re[2]: " Alexander Leschinsky
2004-04-09 11:30       ` Igo [this message]
2004-04-09 14:53 ` Ruslan Gordeev

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=40768972.6090604@aaanet.ru \
    --to=altlinux@aaanet.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