bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] 2 questions


From: Denis Shirokov
Subject: [bug-gawk] 2 questions
Date: Fri, 26 Oct 2012 22:03:24 +0300

Hi GAWK!

Would you be so kind to answer for 2 questions:


1) because /\1B\x2A/ response in regexp as /*/ - this mean that regexp
cant process byte-characters with code \x80-\xFF ? or some of thems?
is there way to process characters with code \x80-\xFF ?

2) How character "/" being defined in gawk-script:
 as arithmetic divider (like 1/5 (==0.2), 10/1 (==10), etc...)
OR
 as the begining of regexp? (like /2/)

CAUSE:

1/2/3      - may mean:(number 1 divided by number 2 divided number by
3) ==0.1666666666666667

OR

1/2/3      - may mean:(number 1 regexp /2/ number 3) =="103"  ( rexp /2/==0)

How you  can exactly be sure which expressions is used?

Thanx and Respect
Digi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]