Changeset 60
- Timestamp:
- 03/02/08 22:06:01 (10 months ago)
- Files:
-
- 1 modified
-
trunk/awkbot/src/cgi-lib.awk (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/awkbot/src/cgi-lib.awk
r58 r60 15 15 # for portability, we have to continuously work in the argument provided... 16 16 # standard awk has no Nth match 17 18 # Must gsub first, otherwise decoding will break the content. 19 gsub("+", " ", string) 20 17 21 len = length(string) 18 22 … … 25 29 result = result string 26 30 27 gsub("+", " ", result)28 31 return result 29 32 }