* *
% remove brandings and homepage [1] from copyright header. Pass 1 - using script.
[1] nobody has access to it anymore AFAIK - and it's also just
a redirect since long
! update url in copyright header
; this should make the diff between 3.4 and 3.2 easier to manage
27 lines
478 B
Plaintext
27 lines
478 B
Plaintext
/*
|
|
* Strips HBDOC docs from source files.
|
|
*
|
|
* Copyright 2010 Viktor Szakats (vszakats.net/harbour)
|
|
*
|
|
*/
|
|
|
|
#pragma -w3
|
|
#pragma -km+
|
|
#pragma -ko+
|
|
|
|
#include "directry.ch"
|
|
|
|
PROCEDURE Main()
|
|
|
|
LOCAL aFile
|
|
|
|
FOR EACH aFile IN Directory( hb_osFileMask() )
|
|
IF Right( aFile[ F_NAME ], 2 ) == ".c" .OR. ;
|
|
Right( aFile[ F_NAME ], 4 ) == ".prg"
|
|
|
|
hb_MemoWrit( aFile[ F_NAME ], __hbdoc_FilterOut( MemoRead( aFile[ F_NAME ] ) ) )
|
|
ENDIF
|
|
NEXT
|
|
|
|
RETURN
|