-
Notifications
You must be signed in to change notification settings - Fork 20
/
psc.doc
120 lines (118 loc) · 2.57 KB
/
psc.doc
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
.\" $Revision: 7.16 $
.TH PPNAME 1 "19 September 2002" "PPNAME #REVISION#"
.SH NAME
ppname \- prepare pname files
.SH SYNOPSIS
.B ppname
.RB [ -fLkrSPv ]
.RB [ -s
.IB cell ]
.RB [ -R
.IB n ]
.RB [ -C
.IB n ]
.RB [ -n
.IB n ]
.RB [ -d
.IB c ]
.\" ==========
.SH DESCRIPTION
.I Ppname
is used to prepare data for input to the spreadsheet calculator
.I pname(1).
It accepts normal ascii data on standard input. Standard output
is a
.I pname
file.
With no options,
.I ppname
starts the spreadsheet in cell A0. Strings are right justified.
All data on a line is entered on the same row; new input lines
cause the output row number to increment by one. The default delimiters
are tab and space. The column formats are set to one larger
than the number of columns required to hold the largest value
in the column.
.\" ----------
.SH OPTIONS
.\" ----------
.TP
.B \-f
Omit column width calculations. This option is for preparing
data to be merged with an existing spreadsheet. If the option is not
specified, the column widths calculated for the data read by
.I ppname
will override those already set in the existing spreadsheet.
.\" ----------
.TP
.B \-L
Left justify strings.
.\" ----------
.TP
.B \-k
Keep all delimiters. This option causes the output cell to change on
each new delimiter encountered in the input stream. The default
action is to condense multiple delimiters to one, so that the cell only
changes once per input data item.
.\" ----------
.TP
.B \-r
Output the data by row first then column. For input consisting of a single
column, this
option will result in output of one row with multiple columns
instead of a single
column spreadsheet.
.\" ----------
.TP
.BI \-s " cell"
Start the top left corner of the spreadsheet in
.I cell.
For example,
.I "-s B33"
will arrange the output data so that the
spreadsheet starts in column B, row 33.
.\" ----------
.TP
.BI \-R " n"
Increment by
.I n
on each new output row.
.\" ----------
.TP
.BI \-C " n"
Increment by
.I n
on each new output column.
.\" ----------
.TP
.BI \-n " n"
Output
.I n
rows before advancing to the next column. This option is used when
the input is arranged in a single column and the spreadsheet is to
have multiple columns, each of which is to be length
.I n.
.\" ----------
.TP
.BI \-d " c"
Use the single character
.I c
as the delimiter between input fields.
.\" ----------
.TP
.B \-P
Plain numbers only.
A field is a number only when there is no imbedded [-+eE].
.\" ----------
.TP
.B \-S
All numbers are strings.
.\" ----------
.TP
.B \-v
Print the version of
ppname
.\" ----------
.SH SEE ALSO
pname(1)
.SH AUTHOR
Robert Bond