diff options
author | Araq <rumpf_a@web.de> | 2014-08-29 01:28:48 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-29 01:28:48 +0200 |
commit | a68f17a9f78e762a8cb77a1fa088e2a507ae44a4 (patch) | |
tree | a8bb1f480f676eacf9edd3251c3ca6c5b94164bd /tools/nimgrep.nim | |
parent | 6713ebcd9808f79d9ccdf02c38c58a17cd9eee9c (diff) | |
download | Nim-a68f17a9f78e762a8cb77a1fa088e2a507ae44a4.tar.gz |
posix.nim compiles again
Diffstat (limited to 'tools/nimgrep.nim')
-rw-r--r-- | tools/nimgrep.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/nimgrep.nim b/tools/nimgrep.nim index 28d92402e..7f9910f78 100644 --- a/tools/nimgrep.nim +++ b/tools/nimgrep.nim @@ -1,6 +1,6 @@ # # -# Nimrod Grep Utility +# Nim Grep Utility # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this @@ -12,7 +12,7 @@ import const Version = "0.9" - Usage = "nimgrep - Nimrod Grep Utility Version " & version & """ + Usage = "nimgrep - Nim Grep Utility Version " & version & """ (c) 2012 Andreas Rumpf Usage: @@ -194,7 +194,7 @@ proc processFile(filename: string) = i = t.last+1 if optReplace in options: result.add(substr(buffer, i)) - var f: TFile + var f: File if open(f, filename, fmWrite): f.write(result) f.close() |