xy_headstrip

Strip off the "# data"-delimted header of a file that contains XY data (only). The XY columns go to standard out and to a local file called "just.xy".

 

% xy_headstrip
Usage: xy_headstrip file.xy   
arg1 = filename for list of X,Y (file must have "# data" header) 

% cat XYlrs2.pixels
# XY LRS2 (pixels)
# data
  394.576263 223.389832
  388.881348 77.627121
  491.389832 181.288147
  467.457642 245.016953

% xy_headstrip XYlrs2.pixels
394.576263	223.389832
388.881348	77.627121
491.389832	181.288147
467.457642	245.016953

% cat just.XY
394.576263	223.389832
388.881348	77.627121
491.389832	181.288147
467.457642	245.016953




Back to SCO CODES page