home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Product / Product.zip / sc621_3.zip / psc.man < prev    next >
Text File  |  1992-10-24  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. PSC 6.21 (1)             USER COMMANDS               PSC 6.21 (1)
  5.  
  6.  
  7.  
  8. NAME
  9.      psc - prepare sc files
  10.  
  11. SYNOPSIS
  12.      psc [ -_f_L_k_r_S_P_v ] [ -_s _c_e_l_l ] [ -_R _n ] [ -_C _n ] [ -_n _n ] [ -_d
  13.      _c ]
  14.  
  15.  
  16. DESCRIPTION
  17.      _P_s_c is used to prepare data for input to  the  spread  sheet
  18.      calculator  _s_c(_1).  It accepts normal ascii data on standard
  19.      input.  Standard output is a _s_c file.  With no options,  _p_s_c
  20.      starts  the spread sheet in cell A0.  Strings are right jus-
  21.      tified.  All data on a line is entered on the same row;  new
  22.      input lines cause the output row number to increment by one.
  23.      The default delimiters are tab and space.  The  column  for-
  24.      mats  are  set  to  one  larger  than  the number of columns
  25.      required to hold the largest value in the column.
  26.  
  27.      Options:
  28.  
  29.  
  30.      -f   Omit column width calculations.   This  option  is  for
  31.           preparing   data   to   be   merged  with  an  existing
  32.           spreadsheet.  If  the  option  is  not  specified,  the
  33.           column  widths calculated for the data read by _p_s_c will
  34.           override those already set in the existing spreadsheet.
  35.  
  36.  
  37.      -L   Left justify strings.
  38.  
  39.  
  40.      -k   Keep all delimiters.  This  option  causes  the  output
  41.           cell to change on each new delimiter encountered in the
  42.           input stream.   The default action is to condense  mul-
  43.           tiple  delimters  to one, so that the cell only changes
  44.           once per input data item.
  45.  
  46.  
  47.      -r   Output the data by row first then  column.   For  input
  48.           consisting  of a single column, this option will result
  49.           in output of one row with multiple columns instead of a
  50.           single column spread sheet.
  51.  
  52.  
  53.      -s cell
  54.           Start the top left corner of the spread sheet in  _c_e_l_l.
  55.           For  example,  -_s  _B_3_3  will arrange the output data so
  56.           that the spread sheet starts in column B, row 33.
  57.  
  58.  
  59.      -R n Increment by _n on each new output row.
  60.  
  61.  
  62.  
  63.                                                                 1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. PSC 6.21 (1)             USER COMMANDS               PSC 6.21 (1)
  71.  
  72.  
  73.  
  74.      -C n Increment by _n on each new output column.
  75.  
  76.  
  77.      -n n Output _n rows before  advancing  to  the  next  column.
  78.           This  option  is  used  when the input is arranged in a
  79.           single column and the spread sheet is to have  multiple
  80.           columns, each of which is to be length _n.
  81.  
  82.  
  83.      -d c Use the single character _c  as  the  delimiter  between
  84.           input fields.
  85.  
  86.  
  87.      -P   Plain numbers only.  A field  is  a  number  only  when
  88.           there is no imbeded [-+eE].
  89.  
  90.  
  91.      -S   All numbers are strings.
  92.  
  93.  
  94.      -v   Print the version of psc
  95.  
  96.  
  97. SEE ALSO
  98.      sc(1)
  99.  
  100.  
  101. AUTHOR
  102.      Robert Bond
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                 2
  130.  
  131.  
  132.  
  133.