File: update-nut.1

package info (click to toggle)
nutsqlite 2.0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 764 kB
  • sloc: sh: 5,648; makefile: 2
file content (53 lines) | stat: -rw-r--r-- 1,767 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.\" manual page [] for nut
.\" SH section heading
.\" SS subsection heading
.\" LP paragraph
.\" IP indented paragraph
.\" TP hanging label
.TH "update-nut" "1" "2020.11.04" "" ""
.SH "NAME"
.B update-nut 
- create or upgrade NUT database
.SH "SYNOPSIS"
.B update-nut
.SH "DESCRIPTION"
.PP
Download the full ascii version of the USDA Nutrient Database,
available from 
http://www.ars.usda.gov/nutrientdata
or from
http://nut.sourceforge.net,
and unzip it in some directory.
.PP
Then,
run "update-nut" to create or upgrade the
.B NUT
code in the SQLite database that runs the application in the same directory as the USDA Nutrient Database.
If upgrading,
you have to be in the same directory as the "nut.db" file.
After this step,
"update-nut" is not required for anything.
Updating the
.B NUT
code with "update-nut" is independent of updating the USDA database,
although it is certainly possible that the USDA could change the format of their tables,
so that a later version of "update-nut" would be required in order to read their tables or display new nutrients.
The main idea is that your personal data is permanent,
even though the application code and USDA tables can change as necessary.
.SH "FILES"
.nf
nut.db        All personal data, the USDA Nutrient Database, and Tcl scripts
nut.db-shm    Database shared memory area
nut.db-wal    Database write-ahead log
update-nut    Tcl script to create or update the NUT code in the database
nut           Tcl script to start the NUTsqlite program
.fi 
.SH "AUTHOR"
.LP 
.nf
Jim Jozwiak (jozwiak@gmail.com, av832@lafn.org)
http://nut.sourceforge.net/
.SH "COPYING"
.LP 
Copyright (C) 1996-2016 by Jim Jozwiak.
This manual page was written by Étienne Mollier <etienne.mollier@mailoo.org> for the Debian distribution.