Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Repetition : how to use it ?!
Hi.
Yes it work now.
The only trouble that I've was link to the fact that I use the scripted
form of awk so I must execute it like this :
./script_name --posix <data_file>
I'vent found a way to put the --posix in the script file.

In all case thanks to all of you.


"Patrick TJ McPhee" <ptjm@interlog.com> wrote in message
news:c3drjn$cbv$1@news.eusc.inter.net...
> In article <c3bpud$ord1@news.rd.francetelecom.fr>,
> JB <jacky.buyck@francetelecom.com> wrote:
>
> % The following command must extract all group of 1, 2 or 3 digits :
> %     gawk --posix '/^[0-9]\{1,3\}/    {print $0}'  < test
>
> It should be {1,3}, not \{1,3\}.
>
> You need to anchor the RE if you want to avoid matching numbers of
> more than three digits.
> --
>
> Patrick TJ McPhee
> East York  Canada
> ptjm@interlog.com



Report this thread to moderator Post Follow-up to this message
Old Post
JB
03-27-04 04:09 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

AWK archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 02:20 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.