- Status Closed
- Percent Complete
- Task Type Bug Report
- Category General
-
Assigned To
outlyer - Operating System
- Severity Critical
- Priority Medium
- Reported Version 1.12
- Due in Version 1.12.1
-
Due Date
Undecided
- Votes
- Private
FS#160 - AWK getting comma-separated decimals
Original report by ya at:
Video Contact Sheet *NIX v1.12, (c) 2007-2010 Toni Corvera Processing <FILE>... awk: BEGIN { if (4993,00000000000000000000 == 0) exit 0 ; else exit 1 } awk: ^ syntax error awk: BEGIN { if (4993,00000000000000000000 == 0) exit 0 ; else exit 1 } awk: ^ syntax error awk: BEGIN { if (4993,00000000000000000000 == 0) exit 0 ; else exit 1 } awk: ^ syntax error awk: BEGIN { printf "%.20f", ((4993,00000000000000000000 - 4993.92))+0 } awk: ^ syntax error awk: BEGIN { printf "%.20f", ((4993,00000000000000000000 - 4993.92))+0 } awk: ^ syntax error awk: BEGIN { if (() < (0)) print (() * -1) ; else print () } awk: ^ syntax error awk: BEGIN { if (() < (0)) print (() * -1) ; else print () } awk: ^ syntax error awk: BEGIN { if (() < (0)) print (() * -1) ; else print () } awk: ^ syntax error awk: BEGIN { if (() < (0)) print (() * -1) ; else print () } awk: ^ syntax error awk: BEGIN { if (() < (0)) print (() * -1) ; else print () } awk: ^ syntax error awk: BEGIN { if (() < (0)) print (() * -1) ; else print () } awk: ^ syntax error ...
ID | Project | Summary | Priority | Severity | Assigned To | Progress | |
---|---|---|---|---|---|---|---|
161 | vcs | Very Low | Low | outlyer |
Closed by outlyer
23.04.2010 12:20
Reason for closing: Fixed
Additional comments about closing:
23.04.2010 12:20
Reason for closing: Fixed
Additional comments about closing:
Fixed in 1.12.1
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
GAWK 3.1.3 to 3.1.5 honoured
LC_NUMERIC
while newer versions do not (http://www.gnu.org/manual/gawk/html_node/Conversion.html).This is the POSIX correct behaviour so it might hit other
awk
s.Exporting
LC_NUMERIC=C
inside the script should fix the problem.