Delila Program: pst

pst program

Documentation for the pst program is below, with links to related programs in the "see also" section.

{   version = 1.02; (* of pst.p 2004 Sep  8}

(* begin module describe.pst *)
(*
name
   pst: paste afile to bfile and send to output

synopsis
   pst(afile: in, bfile: out, output: out)

files

   afile:  multiple line detailed description of the first file.

   bfile:  multiple line detailed description of the second file.

description

   The pst program is a replacement for Unix paste, which cannot
   handle lines longer than 511 characters!!

   The mechanism is to combine each line from afile with the
   corresponding line from bfile, with a tab separating them and put
   the result on output.

   There is no buffer in the program, so it can take arbitrarily long
   lines.

examples

afile:

AFILE
contains
this

bfile:

BFILE
has
that

The output is:

AFILE BFILE
contains has
this that

documentation

see also

  google for paste.c:
  http://www.google.com/search?hl=en&ie=UTF-8&q=paste.c&btnG=Google+Search
  gives:
  http://docsrv.sco.com:507/en/man/html.C/paste.C.html
  Diagnostics
  line too long
      Output lines are restricted to 511 characters.
  DUH!!!! Paste has this low limit!!
  http://openbsd.mirrors.pair.com/src/usr.bin/paste/paste.c
  coooooollllll!!
  http://openbsd.mirrors.pair.com/src/usr.bin/paste/
  has Makefile, paste.1 and paste.c
  can't get it to compile - includes that I give it are not found!

author

   Thomas Dana Schneider

bugs

   As pst is in standard Pascal, it does not read command lines.  It
   takes an afile and abfile and pastes them to output, Someday I
   should learn how to make non-standard calls to files on the
   argument line in gpc ... then it would look just like paste but
   work with arbitrarily long lines.

technical notes

*)
(* end module describe.pst *)
{This manual page was created by makman 1.45}


{created by htmlink 1.62}