Delila Program: number

number program

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

{   version = 1.10; (* of number.p 2010 Mar 01}

(* begin module describe.number *)
(*
name
   number: add line numbers to a file

synopsis
   number(input: in, output: out)

files
   input:  input file
   output: input file with line numbers at the start

description
   Add line numbers to the input file.

examples

documentation

see also

   A slow but effective solution to the technical note below is in:
   cumulative.p

author
   Thomas Dana Schneider

bugs

technical notes
   Perhaps the program should have an option to define the number of columns
   for the line numbers.  An earlier version computed this.  However, to do
   that requires resetting the file and prevents the program from being used
   as part of a pipe.  The current program simply uses a default value for
   the number of columns so that number can be used as part of a pipe.

   See cumulative.p for a solution, not yet implemented.

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


{created by htmlink 1.62}