The R Project SVN R

Rev

Rev 6098 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6098 Rev 7219
Line 1... Line 1...
1
#! @PERL@
1
#! @PERL@
2
# Convert fixed width format to R/S "table"
2
# Convert fixed width format to R/S "table"
3
# By KH <Kurt.Hornik@ci.tuwien.ac.at>, based on a script by Doug Bates
3
# By KH <Kurt.Hornik@ci.tuwien.ac.at>, based on a script by Doug Bates
4
# Usage:  fwf2table -f FORMAT [-s SEP] FILE,
4
# Usage: fwf2table -f FORMAT [-s SEP] FILE,
5
# where FORMAT is the format string, typically "Ax Ay Az ..." with x, y,
5
# where FORMAT is the format string, typically "Ax Ay Az ..." with x, y,
6
# z etc being the widths of the columns and `A' means that the field is
6
# z etc being the widths of the columns and `A' means that the field is
7
# to be interpreted as an ASCII character string with trailing white
7
# to be interpreted as an ASCII character string with trailing white
8
# space suppressed, and SEP is the record separator to be inserted in
8
# space suppressed, and SEP is the record separator to be inserted in
9
# the output (default is a space).
9
# the output (default is a space).