File: make_db_urls_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 (36 lines) | stat: -rwxr-xr-x 1,713 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
27
28
29
30
31
32
33
34
35
36

echo "Making urls.db*"
rm urls.db
rm urls.db.index
./newdb1 urls.db "____VERSION____"     "1.0"
./newdb1 urls.db "____NAME____"        "Enlaces Web"
./newdb1 urls.db "____STRUCTURE____" \
"\
(name!1!VARCHAR!250!30!0!Nombre!!0!!!!!)\
(url!2!URL!300!30!80!URL!http://www.uv.es!0!!!!!)\
(topic!3!VARCHAR!50!30!20!Tópico!!1!!!!!)\
(comment!4!VARCHAR!500!30!0!Comentario!!1!!!!!)\
(creationdate!5!DATETIME!!!0!Fecha de Creación!NOW!0!!!!!)\
"
./newdb1 urls.db "____PERMISSIONS____" "(root!rwx!)(postman!r!)"
./newdb1 urls.db "____LASTINT____"     "10"
./newdb1 urls.db "____RECCOUNT____"    "2"
./newdb1 urls.db "____MAXSIZE____"     "50000"
./newdb1 urls.db "00000000000000000001_url"          "http://www.uv.es/"
./newdb1 urls.db "00000000000000000001_name"         "Home Page of University of Valencia"
./newdb1 urls.db "00000000000000000001_topic"        "Home Pages"
./newdb1 urls.db "00000000000000000001_comment"      "My University"
./newdb1 urls.db "00000000000000000001_creationdate" "05/11/2002 18:40:25"
./newdb1 urls.db -- "00000000000000000001___FLAGS__"    "----------"
./newdb1 urls.db "00000000000000000002_url"          "http://www.uv.es/postman"
./newdb1 urls.db "00000000000000000002_name"         "Home Page of Postman Distribution"
./newdb1 urls.db "00000000000000000002_topic"        "Utils"
./newdb1 urls.db "00000000000000000002_comment"      "Here I can get the last release of Postman"
./newdb1 urls.db "00000000000000000002_creationdate" "05/11/2002 18:40:25"
./newdb1 urls.db -- "00000000000000000002___FLAGS__"    "----------"
./newdb1 urls.db -
./newdb1 urls.db.index "1" "00000000000000000001"
./newdb1 urls.db.index "2" "00000000000000000002"
./newdb1 urls.db.index -