Re: save measurements without 1st row labels
Posted by
Michael Schmid on
Oct 28, 2008; 8:05pm
URL: http://imagej.273.s1.nabble.com/save-measurements-without-1st-row-labels-tp3694643p3694644.html
Hi Justin,
it is easy when copying the results to the clipboard:
deselect Edit>Options/Input/Output Options>Copy Column Headers
Files - on linux or MacOS (terminal), this deletes the first line:
(gnu awk is also available for Windows, you can run it in a DOS window)
awk 'NR>1' <inputFile >outputFile
Michael
______________________________________________________________
On 28 Oct 2008, at 20:43, Justin Walker wrote:
> Does anyone know if there is a way to save the contents of the
> results box without the labels in the first line of the text file?
> I'm trying to write code to import those data files directly and do
> processing on them, but I'm being hung up by the row of labels, and
> deleting them is a pain.
>
> Alternatively, does anyone know of a simple way to delete the first
> line of a whole bunch of text files?
>
> Thanks
>
> -Justin Walker
> University of Maryland