lminstall
The lminstall utility is designed primarily for typing in decimal format licenses to generate a readable format license file.
Usage
lminstall [-i in_lic_file] [-maxlen n] [-e err_file] [-o out_lic_file] \
[-overfmt {2 | 3 | 4 | 5 | 5.1 | 6 | 7 | 7.1 | 8}] [-odecimal]
Normally, to convert from decimal to readable format, lminstall is used with no arguments; you are prompted for the name of the output license file. The default file name is today’s date in yyyymmdd.lic format. Move this file to the application’s default license file directory, if specified by the software publisher. Otherwise, use the LM_LICENSE_FILE or VENDOR_LICENSE_FILE environment variables to specify the directory where the *.lic files are located.
To finish entering, type q on a line by itself or enter two blank lines.
When an input file is specified with no output file specified, output goes to stdout; if neither input nor output file is specified, lminstall assumes that input comes from stdin and prompts the user for an output file name.
lminstall is also used to convert licenses from readable to decimal format and between different license versions.
To convert from readable to decimal:
lminstall -i in_lic_file -o out_lic_file -odecimal
To convert to v5.1 format:
lminstall -i in_lic_file -o out_lic_file -overfmt 5.1
To enforce a maximum line length of, for example, 50 characters:
lminstall -maxlen 50
Conversion errors are reported as necessary and can be written to a file by specifying -e err_file. lminstall has a limit of 1,000 lines of input.
Note:Decimal format is deprecated and is not supported.