File: make_db_notes_template

package info (click to toggle)
postman 2.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,240 kB
  • ctags: 3,249
  • sloc: cpp: 33,376; ansic: 2,014; sh: 780; makefile: 300
file content (26 lines) | stat: -rwxr-xr-x 1,033 bytes parent folder | download | duplicates (3)
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

echo "Making notes.db*"
rm notes.db
rm notes.db.index
./newdb1 notes.db "____VERSION____"     "1.0"
./newdb1 notes.db "____NAME____"        "Anotaciones"
./newdb1 notes.db "____STRUCTURE____" \
"\
(name!1!VARCHAR!250!30!100!Nombre!!0!!!!!)\
(topic!2!VARCHAR!250!30!0!Tema!!0!!!!!)\
(memo!3!TEXT!20000!30!0!Texto!!1!!!!!)\
(creationdate!4!DATETIME!!0!!Fecha de Creación!NOW!0!!!!!)\
"
./newdb1 notes.db "____PERMISSIONS____" "(root!rwx!)(postman!r!)"
./newdb1 notes.db "____LASTINT____"     "10"
./newdb1 notes.db "____RECCOUNT____"    "1"
./newdb1 notes.db "____MAXSIZE____"     "50000"
./newdb1 notes.db "00000000000000000001_name"         "Notas de la Asignatura 'Genética'"
./newdb1 notes.db "00000000000000000001_memo"         "He de conseguir los apuntes del Viernes"
./newdb1 notes.db "00000000000000000001_creationdate" "05/11/2002 18:40:25"
./newdb1 notes.db -- "00000000000000000001___FLAGS__"    "----------"
./newdb1 notes.db -
./newdb1 notes.db.index "1" "00000000000000000001"
./newdb1 notes.db.index -