Plus now also EOL conversion is
needed, which again doesn't seem to have an easy and portable
*nix command.

hbformat -nEol=2 -lIndent=no -lCase=no -lSpaces=no some_prg.prg

will change EOL to *nix without formating the content.
I can add an option to lowercase the filename, if needed :).

Well, that would be a perfect solution :)

Does it work with wildcards?
$ hbformat -nEol=2 -lIndent=no -lCase=no -lSpaces=no *.prg

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to