projects
/
phppgadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fbb2d4
)
Fixed conversion of < and >
author
slubek
<slubek>
Fri, 13 Feb 2004 00:03:46 +0000
(
00:03
+0000)
committer
slubek
<slubek>
Fri, 13 Feb 2004 00:03:46 +0000
(
00:03
+0000)
lang/convert.awk
patch
|
blob
|
blame
|
history
diff --git
a/lang/convert.awk
b/lang/convert.awk
index 1db11f21b4e251d7121f359374d9f47df218205b..ebd566e5b4869d627bc348e0689a4d23720ba490 100755
(executable)
--- a/
lang/convert.awk
+++ b/
lang/convert.awk
@@
-10,9
+10,7
@@
BEGIN { while (index($0,"<?php")==0) { getline; continue }
# (as there should be only one occurance, thats no problem)
/\?\>/ { print "?>"; exit }
- { # I'm not sure if its still needed
- gsub(">",">");
- gsub("<","<");
+ {
# Convert CRLF -> LF (== "remove CR" ) ;-)
gsub(" ","");
print $0