📄 format.so
字号:
m4_comment([$Id: format.so,v 10.16 2001/03/13 20:39:47 bostic Exp $])m4_ref_title(Dumping and Reloading, Dump output formats,, dumpload/utility, dumpload/text)m4_p([dnlThere are two output formats used by m4_ref(db_dump) and m4_ref(db_dump185).])m4_p([dnlIn both output formats, the first few lines of the output contain headerinformation describing the underlying access method, filesystem page size,and other bookkeeping information.])m4_p([dnlThe header information starts with a single line, VERSION=N, where N isthe version number of the dump output format.])m4_p([dnlThe header information is then output in name=value pairs, where name maybe any of the keywords listed in the m4_ref(db_load) manual page, andvalue will be its value. Although this header information can be manuallyedited before the database is reloaded, there is rarely any reason to doso because all of this information can also be specified or overridden bycommand-line arguments to m4_ref(db_load).])m4_p([dnlThe header information ends with single line HEADER=END.])m4_p([dnlFollowing the header information are the key/data pairs from thedatabase. If the database being dumped is a Btree or Hash database, orif the m4_bold(-k) option was specified, the output will be paired linesof text where the first line of the pair is the key item, and the secondline of the pair is its corresponding data item. If the database beingdumped is a Queue or Recno database, and the m4_bold(-k) option was notspecified, the output will be lines of text where each line is the nextdata item for the database. Each of these lines is preceded by a singlespace.])m4_p([dnlIf the m4_option(p) option to m4_ref(db_dump) or m4_ref(db_dump185) wasspecified, the key/data lines will consist of single charactersrepresenting any characters from the database that are m4_italic([printingcharacters]) and backslash (m4_bold(m4_backslash([]))) escaped charactersfor any that were not. Backslash characters appearing in the output meanone of two things: if the backslash character precedes another backslashcharacter, it means that a literal backslash character occurred in thekey or data item. If the backslash character precedes any othercharacter, the next two characters must be interpreted as hexadecimalspecification of a single character; for example, m4_bold([m4_backslash()0a])is a newline character in the ASCII character set.])m4_p([dnlAlthough some care should be exercised, it is perfectly reasonable to usestandard text editors and tools to edit databases dumped using them4_option(p) option before reloading them using the m4_ref(db_load)utility.])m4_p([dnlNote that the definition of a printing character may vary from system tosystem, so database representations created using the m4_option(p)option may be less portable than those created without it.])m4_p([dnlIf the m4_option(p) option to m4_ref(db_dump) or m4_ref(db_dump185) isnot specified, each output line will consist of paired hexadecimal values;for example, the line m4_bold(726f6f74) is the string m4_bold(root) inthe ASCII character set.])m4_p([dnlIn all output formats, the key and data items are ended by a single lineDATA=END.])m4_p([dnlWhere multiple databases have been dumped from a file, the overall outputwill repeat; that is, a new set of headers and a new set of data items.])m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -