Is that a long option can be shortened arbitrarily part of GNU conventions for options, or some other conventions/standards, or just provided by some special C function? For example, why do python and awk behave differently?$ python --versionPython 2.7.12$ python --versioUnknown option: --usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...Try `python -h' for more information.$ awk --versionGNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)$ awk --versiGNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)Thanks.
Can a long option be shortened arbitrarily?
command line;options