Class | Analysis and data manipulation command |
Name | head | tail |
Arguments | [<nrec> | (<skip> <nrec>)] |
Writes the first or last nrec records (default 20) of a pedigree file to the screen. If two arguments are present, then the first represents the number of records to skip over before writing nrec records.
Example:
>> inc williamsex.in >> head ! ! S C c ! e H a ! Per Fat Mot x age D r adjChol ldl ! 26 101 x x m 62.0000 y y x x/x 26 102 x x f 91.0000 y n x x/x 26 202 x x f x n n x x/x 26 204 x x m x x n x x/x 26 303 x x f 53.0000 n n 92.0000 2/2 26 305 x x f x x n 93.0000 1/1 26 308 x x f 42.0000 n n 145.0000 1/1 26 311 x x f 47.0000 n n 98.0000 1/2 26 313 x x f x x n 115.0000 1/1 26 315 x x f x x n x x/x
Class | Analysis and data manipulation command |
Name | more |
Arguments | [<nrec>] |
Pages through the current dataset, nrec records (default 20) per page. Allows paging backwards and forwards by full or half pages. A prompt appears at the bottom of every page, and the next action is controlled by single letter commands:
b | p | Scroll back one page |
f | n | <HR> | Scroll forward one page |
u | Scroll back one-half page |
d | Scroll forward one-half page |
h | List control keys |
q | Quit pager |
Example:
>> more 5 ! ! S p ! e A r ! Per Fat Mot x D onset age D14S52 D14S43 D14S53 o ! AM 101 x x m y 43.0000 x x/x x/x x/x n AM 102 x x f n 77.0000 77.0000 83/87 183/183 151/151 n AM 203 x x f n x x 83/93 171/181 151/157 n AM 201 101 102 m y 41.0000 x x/x x/x x/x y AM 202 101 102 m y 43.0000 x x/x x/x x/x n records 1-5: ! ! S p ! e A r ! Per Fat Mot x D onset age D14S52 D14S43 D14S53 o ! AM 204 101 102 m n 63.0000 63.0000 x/x x/x x/x n AM 205 101 102 m y 46.0000 x 83/87 183/183 151/155 n AM 206 101 102 m y 41.0000 x 83/87 183/183 151/155 n AM 207 101 102 m n 52.0000 52.0000 x/x x/x x/x n AM 208 101 102 m y 41.0000 x 83/87 183/183 151/155 n records 6-10:q >>
<< (print) | Up to index | >> (write) |