1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

doc update

This commit is contained in:
Kelly Brazil
2022-07-30 12:23:43 -07:00
parent ff7f830f65
commit cd5547dfd8
3 changed files with 18 additions and 10 deletions

View File

@ -4,7 +4,7 @@ xxxxxxxx v1.20.5
- Add IP Address string parser
- Fix `lsusb` command parser for output containing a `Device Qualifier` and
`Binary Object Store Descriptor` sections
- Change LANG=C to LC_ALL=C in locale instructions
- Change `LANG=C` to `LC_ALL=C` in locale instructions
- Add `__main__.py` to package allowing `python -m jc` usage
20220723 v1.20.4

View File

@ -1,4 +1,4 @@
.TH jc 1 2022-07-29 1.20.5 "JSON Convert"
.TH jc 1 2022-07-30 1.20.5 "JSON Convert"
.SH NAME
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools and file-types
.SH SYNOPSIS
@ -758,19 +758,23 @@ Note: The application data directory follows the XDG Base Directory Specificatio
.SH CAVEATS
\fBLocale\fP
For best results set the \fBLANG\fP locale environment variable to \fBC\fP or \fBen_US.UTF-8\fP. For example, either by setting directly on the command-line:
For best results set the locale environment variables to \fBC\fP or
\fBen_US.UTF-8\fP by modifying the \fBLC_ALL\fP variable:
.RS
$ LANG=C date | jc \fB--date\fP
$ LC_ALL=C date | jc \fB--date\fP
.RE
or by exporting to the environment before running commands:
You can also set the locale variables individually:
.RS
$ export LANG=C
$ export LC_NUMERIC=C
.RE
On some older systems UTF-8 output will be downgraded to ASCII with \fB\\u\fP escape sequences if the \fBC\fP locale does not support UTF-8 encoding.
On some older systems UTF-8 output will be downgraded to ASCII with \fB\\u\fP
escape sequences if the \fBC\fP locale does not support UTF-8 encoding.
\fBTimezones\fP

View File

@ -203,19 +203,23 @@ Note: The application data directory follows the XDG Base Directory Specificatio
.SH CAVEATS
\fBLocale\fP
For best results set the \fBLANG\fP locale environment variable to \fBC\fP or \fBen_US.UTF-8\fP. For example, either by setting directly on the command-line:
For best results set the locale environment variables to \fBC\fP or
\fBen_US.UTF-8\fP by modifying the \fBLC_ALL\fP variable:
.RS
$ LANG=C date | jc \fB--date\fP
$ LC_ALL=C date | jc \fB--date\fP
.RE
or by exporting to the environment before running commands:
You can also set the locale variables individually:
.RS
$ export LANG=C
$ export LC_NUMERIC=C
.RE
On some older systems UTF-8 output will be downgraded to ASCII with \fB\\u\fP escape sequences if the \fBC\fP locale does not support UTF-8 encoding.
On some older systems UTF-8 output will be downgraded to ASCII with \fB\\u\fP
escape sequences if the \fBC\fP locale does not support UTF-8 encoding.
\fBTimezones\fP