OCamlPro / gnucobol

A clone of the sourceforge GnuCOBOL compiler from COBOL to C.
https://get-superbol.com
GNU Lesser General Public License v3.0
21 stars 25 forks source link

Allow configuration of indicator column #5

Closed ddeclerck closed 2 years ago

nberth commented 2 years ago

Why bother? nl is so easy to use. In our case, nl -s "" -n rz does the trick.

ddeclerck commented 2 years ago

Because :

lefessan commented 2 years ago

Maybe you should only add the option in the gcos files instead of all of them ?

ddeclerck commented 2 years ago

Maybe you should only add the option in the gcos files instead of all of them ?

Alas, you can't do that. Configuration files must give a value to all existing config options.

lefessan commented 2 years ago

Why bother? nl is so easy to use. In our case, nl -s "" -n rz does the trick.

That's assuming:

nberth commented 2 years ago

Yes sure it assumes some specific environment and some work on user side. I'm fine this it as it's done. My main concerns were mostly "principled", in that :

lefessan commented 2 years ago

Portability to other non-open-source compilers is not a problem for us :-) Anyway, the trick you mentionned with nl would work for other compilers to easily port such files...

nberth commented 2 years ago

No worries I'm just being fussy to publicize the indeed little-known little nl ;-)