"
'Print #$hOut, ""
''PRINT #$hOut, " "; Trim(aElt[1]); " - "; Trim(aElt[2]); " | "
'Print #$hOut, " "; Trim(aElt[1]); " - "; Trim(aElt[2]); " | "
'Print #$hOut, " "
If Not sVer Then sVer = Trim(aElt[1])
bVer = True
bList = False
Line Input #$hIn, sLig
Continue
Endif
If UCase(sLig) = sLig And If Left(sLig) <> " " Then
If bList Then
Print #$hOut, " "
bList = False
Endif
Print #$hOut, " " & UnCapitalize(sLig) & ""
Continue
Endif
If Left$(sLig, 2) = "* " Then
If Not bList Then
Print #$hOut, " "
bList = True
Endif
sLig = Mid$(sLig, 3)
Print #$hOut, " - ";
Endif
sLig = Replace(sLig, "&", "&")
sLig = Replace(sLig, "<", "<")
sLig = Replace(sLig, ">", ">")
Print #$hOut, sLig
Wend
Close #$hIn
If bList Then Print #$hOut, "
"
If bVer Then Print #$hOut, " | "
Print #$hOut, " \n"
Print #$hOut, "\n\n"
Close #$hOut
' PRINT "Modification de debian/changelog"
'
' sOld = File.Load(User.Home &/ "gambas/" & System.Version & ".0/debian/changelog")
'
' IF NOT (sOld LIKE "gambas (" & sVer & ") *") THEN
'
' sData = "gambas (" & sVer & ") unstable; urgency=low\n\n"
' sData = sData & " * Automatically generated. See ChangeLog file for more details.\n\n"
' sData = sData & " -- Jose L. Redrejo "
'
' sTemp = Temp$
' SHELL "date -R > " & sTemp WAIT
' sData = sData & File.Load(sTemp) & "\n\n"
'
' File.Save(User.Home &/ "gambas/" & System.Version & ".0/debian/changelog", sData & sOld)
'
' ENDIF
End
|