Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psc(1) — Amiga System V Release 4 Version 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sc(1)

PSC(1)  —  USER COMMANDS

NAME

psc − prepare sc files

SYNOPSIS

psc [ -Lkr ] [ -s cell ] [ -R n ] [ -C n ] [ -n n ] [ -d c ]
 

DESCRIPTION

Psc is used to prepare data for input to the spread sheet calculator sc(1).  It accepts normal ascii data on standard input.  Standard output is a sc file.  With no options, psc starts the spread sheet 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. 
 
Options:
 

−LLeft justify strings. 
 

−kKeep 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 delimters to one, so that the cell only changes once per input data item. 
 

−rOutput 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 spread sheet. 
 

−s cellStart the top left corner of the spread sheet in cell.  For example, -s B33 will arrange the output data so that the spread sheet starts in column B, row 33. 
 

−R nIncrement by n on each new output row. 
 

−C nIncrement by n on each new output column. 
 

−n nOutput n rows before advancing to the next column.  This option is used when the input is arranged in a single column and the spread sheet is to have multiple columns, each of which is to be length n. 
 

−d cUse the single character c as the delimiter between input fields. 
 

SEE ALSO

sc(1)
 

AUTHOR

 
Robert Bond

Amiga Unix  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026