diff options
author | Adam Strzelecki <ono@java.pl> | 2015-09-04 23:05:22 +0200 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-09-04 23:05:22 +0200 |
commit | 5d80548cce84ea62dc8b85c10375f70d037ea4f8 (patch) | |
tree | 110db6acbe7cf57031571cbd5f3519bb3ee0a039 /examples/statcsv.nim | |
parent | e80465dacf50f260abec30ae57d37b298c93fd83 (diff) | |
download | Nim-5d80548cce84ea62dc8b85c10375f70d037ea4f8.tar.gz |
examples: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
Diffstat (limited to 'examples/statcsv.nim')
-rw-r--r-- | examples/statcsv.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/statcsv.nim b/examples/statcsv.nim index cd1de62af..f2cf809e2 100644 --- a/examples/statcsv.nim +++ b/examples/statcsv.nim @@ -28,7 +28,7 @@ while readRow(x): for i in 0..x.row.len-1: header[i] = "Col " & $(i+1) else: # data line: - for i in 0..x.row.len-1: + for i in 0..x.row.len-1: push(res[i], parseFloat(x.row[i])) x.close() |