1UREAD(1) General Commands Manual UREAD(1)
2
3
4
6 utrip - strips record length information from a Fortran unformatted
7 file
8
10 ustrip [ -x ] [ filename ]
11
13 ustrip reads an file created with Fortran's unformatted IO and strips
14 the record size flags which pad each record. This is mainly of use for
15 reading binary data into a C program.
16
17 The -x option instructs ustrip to byte swap the record flags, allowing
18 big endian data to be examined on a little endian machine, and vis
19 versa.
20
21 The file name may be specified on the command line, otherwise the data
22 will be read in from the standard input and written to standard output.
23
25 The error message
26 uread: data larger than file length
27 often indicates that the file being read has the opposite byte "sex" to
28 the platform uread is being run on. Try using the -x flag to see if
29 this is the case.
30
32 uswap(1), uread(1)
33
35 S.E. Norris s.norris@auckland.ac.nz
36
37
38
39 UREAD(1)