getNline

Extract the Nth line from a text file.

 

% getNline --help 
Help Information for:  getNline

Usage: getNline filename 800  
arg1 = Name of file from which line is to be taken
arg2 = line number you want 

I will show: /home/sco/sco/codes/bash/HELP_FILES/getNline.help

Enter any key to roceed with the view of help:

getNline:
Extract the Nth line from a text file. 

=============================================
Here is a simple example: 
% cat Axes.0
Histogram (i1,i2,j1,j2=  389  468  514  582)
  1328.30298    1621.53101   Signal
    -1.00000       5.33272   ln(Number) 

% getNline Axes.0 2
1328.30298    1621.53101   Signal
=============================================




Back to SCO CODES page