Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs.ext@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [solved] OT: awk problem
Date: Fri, 18 Jan 2008 07:24:26
Message-Id: 200801180823.05736.dirk.heinrichs.ext@nsn.com
In Reply to: [gentoo-user] OT: awk problem by Dirk Heinrichs
1 Am Freitag, 18. Januar 2008 schrieb ext Dirk Heinrichs:
2
3 > maybe one of you can sched some light on this. I want to match a sequence
4 > of two digits with awk, but the following doesn't work
5 >
6 > gawk '/([[:digit:]]){2}/' test_file
7
8 Seems I need the --posix option for this to work.
9
10 Sorry for bothering you.
11
12 Bye...
13
14 Dirk
15 --
16 Dirk Heinrichs | Tel: +49 (0)162 234 3408
17 Configuration Manager | Fax: +49 (0)211 47068 111
18 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
19 Wanheimerstraße 68 | Web: http://www.capgemini.com
20 D-40468 Düsseldorf | ICQ#: 110037733
21 GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Attachments

File name MIME type
signature.asc application/pgp-signature